diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-02-18 11:19:47 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-02-18 11:19:47 +0100 |
commit | 208416b58565ee5a8ea7a1670924dcde4e633663 (patch) | |
tree | c8e5540db31850903bd6e8c3d365c52375a6db3d /src/storage.h | |
parent | 319bb58fa93421283a4c0b9cbf8f474f11a1530e (diff) |
system receive state machine: Add START_OR_PATTERN status
Needed so that both continuing the current transaction and sending
an entirely new one works
Diffstat (limited to 'src/storage.h')
-rw-r--r-- | src/storage.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/storage.h b/src/storage.h index 10cdbc5..fd7b0ad 100644 --- a/src/storage.h +++ b/src/storage.h @@ -13,9 +13,8 @@ class Storage { int8_t i2c_receive(uint8_t len, uint8_t *data); int8_t i2c_read(uint16_t addr, uint8_t len, uint8_t *data); int8_t i2c_write(uint16_t addr, uint8_t len, uint8_t *data); - // TODO "file system" housekeeping (index of first free page) public: - Storage() { num_anims = 0xff; first_free_page = 0;}; + Storage() { num_anims = 0; first_free_page = 0;}; /** * Enable the storage hardware: Configures the internal I2C |