Add christmas edition
This commit is contained in:
parent
2f1c7d9e82
commit
b62af486a7
1 changed files with 3422 additions and 1 deletions
15
christmas/AdAstra/src/hardware_access/eeprom/eeprom.h
Normal file
15
christmas/AdAstra/src/hardware_access/eeprom/eeprom.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef EEPROM_H
|
||||
#define EEPROM_H
|
||||
|
||||
#include <avr/io.h>
|
||||
|
||||
|
||||
#define STORAGE_SIZE 52
|
||||
|
||||
typedef void (*OnEEPROMFinished)(uint8_t*);
|
||||
|
||||
inline void initializeEEPROM() {
|
||||
EECR = 0; // atomic write
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue