mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/mtd_default: fix for boards that define MTD_NUMOF
This commit is contained in:
parent
5cf32002f5
commit
aef1a718c0
@ -55,6 +55,8 @@ extern "C" {
|
||||
*/
|
||||
#define MTD_NUMOF (MTD_BOARD_NUMOF + MTD_SDCARD_NUMOF + MTD_EMULATED_NUMOF)
|
||||
|
||||
#else
|
||||
#define MTD_BOARD_NUMOF MTD_NUMOF
|
||||
#endif /* !defined(MTD_NUMOF) && !DOXYGEN */
|
||||
|
||||
#if !DOXYGEN
|
||||
|
Loading…
Reference in New Issue
Block a user