mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19907
19907: drivers/mtd_default: fix for boards that define MTD_NUMOF r=aabadie a=benpicco Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
This commit is contained in:
commit
f1df27b381
@ -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