sdcard.h: bugfix conditional compile

This commit is contained in:
Klaus K Wilting 2020-05-20 12:34:58 +02:00
parent c5c9e933d4
commit e0b04775e0

View File

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