bugfix compile error

This commit is contained in:
Harald Pichler 2017-11-09 10:59:07 +01:00
parent b929b419af
commit 6695835808
5 changed files with 10 additions and 15 deletions

View file

@ -70,6 +70,7 @@ extern "C"{
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
#define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
#define clockCyclesPerMicrosecond() ( F_CPU / 1000000L )
#define microsecondsToClockCycles(a) ( (a) * (F_CPU / 1000000L) )
typedef unsigned int word;