tests/periph_flashpage_unittest: lower FLASHPAGE_SIZE for int overflow
On AVR_8 512*256 causes an int overflow.
This commit is contained in:
parent
2a3fbf38f6
commit
91269794d9
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
/* need to define these values before including the header */
|
/* need to define these values before including the header */
|
||||||
#ifndef FLASHPAGE_SIZE
|
#ifndef FLASHPAGE_SIZE
|
||||||
#define FLASHPAGE_SIZE 512
|
#define FLASHPAGE_SIZE 256
|
||||||
#endif
|
#endif
|
||||||
#ifndef FLASHPAGE_NUMOF
|
#ifndef FLASHPAGE_NUMOF
|
||||||
#define FLASHPAGE_NUMOF 128
|
#define FLASHPAGE_NUMOF 128
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user