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