forked from haraldwolff/avr-fw-modules
15 lines
302 B
C
Executable File
15 lines
302 B
C
Executable File
#include <hwo/eeprom.h>
|
|
#include <avr/io.h>
|
|
|
|
struct avr_eeprom_desc __ee_desc = {
|
|
num_banks: (E2END+1) / 68
|
|
};
|
|
|
|
void __eeprom_init6__(void) __attribute__((naked)) __attribute__((section(".init6")));
|
|
void __eeprom_init6__(void)
|
|
{
|
|
__ee_desc.base_chksums = (void*)(__ee_desc.num_banks * 64);
|
|
};
|
|
|
|
|