summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/main.cpp b/main.cpp
index 9c4774b..468a0b9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,16 +1,5 @@
#include "stm32.h"
-void entry();
-
-void* vectors[4] __attribute__((section(".vectors"))) = {
- (void*)0x20004ffc,
- (void*)entry
- //(unsigned int *) STACK_TOP, // stack pointer
- //(unsigned int *) main, // code entry point
- //(unsigned int *) nmi_handler, // NMI handler (not really)
- //(unsigned int *) hardfault_handler // hard fault handler (let's hope not)
-};
-
volatile unsigned int cnt;
void i2c_write_reg(uint8_t addr, uint8_t reg, uint8_t data) {