mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/mtd_flashpage: make use of mtd_flashpage_t
This commit is contained in:
parent
574dc86716
commit
fe4efcacfb
@ -36,8 +36,8 @@
|
||||
#endif
|
||||
#define TEST_ADDRESS0 (FLASHPAGE_NUMOF - 1)
|
||||
|
||||
static mtd_dev_t _dev = MTD_FLASHPAGE_INIT_VAL(8);
|
||||
static mtd_dev_t *dev = &_dev;
|
||||
static mtd_flashpage_t _dev = MTD_FLASHPAGE_INIT_VAL(8);
|
||||
static mtd_dev_t *dev = &_dev.base;
|
||||
|
||||
static void setup(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user