aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/wiring.c2
-rw-r--r--main.cpp.example3
2 files changed, 2 insertions, 3 deletions
diff --git a/core/wiring.c b/core/wiring.c
index 0548e6a..803b571 100644
--- a/core/wiring.c
+++ b/core/wiring.c
@@ -50,10 +50,8 @@ void init(void) {
void nvic_init(void) {
#ifdef VECT_TAB_ROM
nvic_set_vector_table(USER_ADDR_ROM, 0x0);
-#warning writing to ROM
#elif defined VECT_TAB_RAM
nvic_set_vector_table(USER_ADDR_RAM, 0x0);
-#warning writing to RAM
#else // VECT_TAB_BASE
/* Set the Vector Table base location at 0x08000000 */
nvic_set_vector_table(((uint32)0x08000000), 0x0);
diff --git a/main.cpp.example b/main.cpp.example
index 4130749..1067030 100644
--- a/main.cpp.example
+++ b/main.cpp.example
@@ -31,10 +31,11 @@
#include "wiring.h"
#include "HardwareSerial.h"
+#include "HardwareUsb.h"
#include "math.h"
#include "usb.h"
-uint8_t bytes_in;
+uint8 bytes_in;
#define LED_PIN 13
#define PWM_PIN 2