AVR: Harmonize code (#1059)

This commit is contained in:
tekka
2018-02-10 18:58:20 +01:00
committed by Henrik Ekblad
parent dea0fd50ca
commit 72b71c8fc8
2 changed files with 34 additions and 25 deletions
+2 -2
View File
@@ -55,8 +55,8 @@ bool hwInit(void);
#define hwReadConfigBlock(__buf, __pos, __length) eeprom_read_block((void*)(__buf), (void*)(__pos), (__length))
#define hwWriteConfigBlock(__buf, __pos, __length) eeprom_update_block((void*)(__buf), (void*)(__pos), (__length))
inline void hwRandomNumberInit();
void hwInternalSleep(unsigned long ms);
inline void hwRandomNumberInit(void);
void hwInternalSleep(uint32_t ms);
#ifndef DOXYGEN
#define MY_CRITICAL_SECTION ATOMIC_BLOCK(ATOMIC_RESTORESTATE)