Fix compilation on AVR
The __reentrant keyword introduced in common code is for SDCC.
This commit is contained in:
parent
aeaad74dd0
commit
5200397bba
@ -6,6 +6,11 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
// Prevent failures to compile on AVR
|
||||||
|
#ifndef __SDCC
|
||||||
|
#define __reentrant
|
||||||
|
#endif
|
||||||
|
|
||||||
// I2C bus, should be defined elsewhere
|
// I2C bus, should be defined elsewhere
|
||||||
struct I2C;
|
struct I2C;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user