1
0
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:
Benjamin Valentin 2023-08-29 15:45:46 +02:00
parent 5cf32002f5
commit aef1a718c0

View File

@ -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