Changed library so that user has to explicitly include hardware header with int vector define set to get ISR

This commit is contained in:
2019-08-15 18:58:25 +02:00
parent f6df6a6a18
commit 0532bf48b0
3 changed files with 11 additions and 4 deletions

View File

@@ -3,11 +3,14 @@
#include <stdint.h>
#include "config.hpp"
#include "hardware0.hpp"
#include "hardware1.hpp"
#include "software.hpp"
#include "utils.hpp"
#undef UART0_INT_VECTORS
#include "hardware0.hpp"
#undef UART1_INT_VECTORS
#include "hardware1.hpp"
#include "../flash/flash.hpp"
#define FORCE_INLINE __attribute__((always_inline))