Skip to content

Commit

Permalink
Merge #19907
Browse files Browse the repository at this point in the history
19907: drivers/mtd_default: fix for boards that define MTD_NUMOF r=aabadie a=benpicco



Co-authored-by: Benjamin Valentin <[email protected]>
  • Loading branch information
bors[bot] and benpicco authored Aug 30, 2023
2 parents 20cdf17 + aef1a71 commit f1df27b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/include/mtd_default.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1df27b

Please sign in to comment.