Skip to content

Commit

Permalink
Fixed mapversion overwrite error
Browse files Browse the repository at this point in the history
PoiCount is 16 bit in the map file, we did overwrite the last byte of mapversion
  • Loading branch information
mrbig committed Jun 25, 2016
1 parent 26b790a commit 2c81942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiveda.ino
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ POI* pois;
uint32_t mapVersion;

// Number of the pois
uint8_t poiCount;
uint16_t poiCount;

// Set to true when we're in an alert
boolean inAlert = false;
Expand Down

0 comments on commit 2c81942

Please sign in to comment.