sdcard.h: bugfix conditional compile
This commit is contained in:
parent
c5c9e933d4
commit
e0b04775e0
@ -5,6 +5,7 @@
|
||||
#include <stdio.h>
|
||||
#include <SPI.h>
|
||||
|
||||
#ifdef HAS_SDCARD
|
||||
#if HAS_SDCARD == 1
|
||||
#include <mySD.h>
|
||||
#elif HAS_SDCARD == 2
|
||||
@ -12,6 +13,7 @@
|
||||
#else
|
||||
#error HAS_SDCARD unknown card reader value, must be either 1 or 2
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "sds011read.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user