1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/periph_flashpage_unittest: lower FLASHPAGE_SIZE for int overflow

On AVR_8 512*256 causes an int overflow.
This commit is contained in:
Francisco Molina 2021-04-20 14:57:59 +02:00
parent 2a3fbf38f6
commit 91269794d9
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -26,7 +26,7 @@
/* need to define these values before including the header */
#ifndef FLASHPAGE_SIZE
#define FLASHPAGE_SIZE 512
#define FLASHPAGE_SIZE 256
#endif
#ifndef FLASHPAGE_NUMOF
#define FLASHPAGE_NUMOF 128