Files @ 8e1189ce73af
Branch filter:

Location: therm/flash.h

matthewreed
Fixed settings save and restore in flash
#ifndef FLASH_H
#define FLASH_H

#include "states.h"

#define PAGE_SIZE ((uint16_t)0x400)
#define END_ADDR 0x08007FFF

void flash_save(therm_settings_t* tosave);
void flash_restore(therm_settings_t* tosave);
void flash_load_defaults(therm_settings_t* torestore);
void flash_erase(void);

#endif