1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Use CRC-8 to validate the random seed in EEPROM/Flash

This commit is contained in:
Rhys Weatherley
2017-11-26 10:06:29 +10:00
parent 8400d51420
commit 06987988be
4 changed files with 55 additions and 11 deletions

View File

@@ -160,7 +160,7 @@ void setup() {
}
\endcode
The random number generator uses 49 bytes of space at the end of
The random number generator uses 48 bytes of space at the end of
EEPROM memory to store the previous seed. When the system is started
next time, the previous saved seed is loaded and then deliberately
overwritten with a new seed. This ensures that the device will not