Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms.
This commit is contained in:
parent
deb6fce7bc
commit
c4ebddd27a
3 changed files with 8 additions and 3 deletions
|
@ -109,9 +109,10 @@
|
|||
#include "Endianness.h"
|
||||
#elif (ARCH == ARCH_UC3)
|
||||
#include <avr32/io.h>
|
||||
#include <math.h>
|
||||
|
||||
// === TODO: Find abstracted way to handle these ===
|
||||
#define PROGMEM const
|
||||
#define PROGMEM
|
||||
#define pgm_read_byte(x) *x
|
||||
#define memcmp_P(...) memcmp(__VA_ARGS__)
|
||||
#define memcpy_P(...) memcpy(__VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue