Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
EEPROMEmulation_weak.cxx
Go to the documentation of this file.
1
34#include "EEPROMEmulation.hxx"
35
36// This weak definition was moved out of the compilation unit of eeprom
37// emulation implementation to prevent GCC from mistakenly optimizing away the
38// constant into a linker reference.
39const bool __attribute__((weak)) EEPROMEmulation::SHADOW_IN_RAM = false;
40
45void __attribute__((weak)) EEPROMEmulation::updated_notification()
46{
47}
static const bool SHADOW_IN_RAM
Shadow the EEPROM data in RAM.
void updated_notification()
This function will be called after every write.