diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-02-21 11:30:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-02-21 11:30:35 +0100 |
commit | d75a6cd36db515a0863a03480d8e5c589a235e22 (patch) | |
tree | 247ba4ce0d3035d132d6a3548a5d9d8154bad1c4 /src/storage.h | |
parent | 9e68d2ab92a2169478d6ec4b4d1f94026dfcf3dc (diff) |
storage: Add hasData method
Diffstat (limited to 'src/storage.h')
-rw-r--r-- | src/storage.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h index b2a4dbf..5366ed9 100644 --- a/src/storage.h +++ b/src/storage.h @@ -40,6 +40,13 @@ class Storage { void reset(); /** + * Checks whether the EEPROM contains animathion data. + * + * @return true if the EEPROm contains valid-looking data + */ + bool hasData(); + + /** * Load pattern from EEPROM. * * @param idx pattern index |