EEPROM simplification. Needs tests. (#3713)

This commit is contained in:
Bertrand Songis
2016-08-23 07:14:44 +02:00
committed by GitHub
parent c16ad94e3a
commit 0ff601a3fa
28 changed files with 485 additions and 480 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ uint8_t keyState(uint8_t index)
uint8_t switchState(uint8_t index)
{
uint8_t result;
uint8_t result = 0;
switch (index) {
case SW_ELE:
-5
View File
@@ -168,9 +168,4 @@ void pwrOff();
#define buzzerOn() PORTE |= (1 << OUT_E_BUZZER)
#define buzzerOff() PORTE &= ~(1 << OUT_E_BUZZER)
// EEPROM driver
#if !defined(SIMU)
#define eepromReadBlock(a, b, c) eeprom_read_block(a, (const void *)b, c)
#endif
#endif // _BOARD_GRUVIN9X_H_