summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/storage.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage.cc b/src/storage.cc
index b15c55d..517fedf 100644
--- a/src/storage.cc
+++ b/src/storage.cc
@@ -245,7 +245,7 @@ bool Storage::hasData()
// Unprogrammed EEPROM pages always read 0xff
if (num_anims == 0xff)
return false;
- return true;
+ return num_anims;
}
// TODO support multi-page reads