Fix compilation on AVR

The __reentrant keyword introduced in common code is for SDCC.
This commit is contained in:
Tim Crawford 2020-10-15 15:11:53 -06:00 committed by Jeremy Soller
parent aeaad74dd0
commit 5200397bba

View File

@ -6,6 +6,11 @@
#include <stdbool.h>
#include <stdint.h>
// Prevent failures to compile on AVR
#ifndef __SDCC
#define __reentrant
#endif
// I2C bus, should be defined elsewhere
struct I2C;