From 66de9d4f76dd47d48cee36b3445ed7ca6177708d Mon Sep 17 00:00:00 2001 From: blckmn Date: Mon, 5 Feb 2018 08:55:32 +1100 Subject: [PATCH] Added SDCARD resources to resource command. --- src/main/interface/cli.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/interface/cli.c b/src/main/interface/cli.c index e7c02a1213..4b55e60121 100644 --- a/src/main/interface/cli.c +++ b/src/main/interface/cli.c @@ -3219,6 +3219,10 @@ const cliResourceValue_t resourceTable[] = { #ifdef USE_MAG { OWNER_COMPASS_CS, PG_COMPASS_CONFIG, offsetof(compassConfig_t, mag_spi_csn), 0 }, #endif +#ifdef USE_SDCARD + { OWNER_SDCARD_CS, PG_SDCARD_CONFIG, offsetof(sdcardConfig_t, chipSelectTag), 0 }, + { OWNER_SDCARD_DETECT, PG_SDCARD_CONFIG, offsetof(sdcardConfig_t, cardDetectTag), 0 }, +#endif }; static ioTag_t *getIoTag(const cliResourceValue_t value, uint8_t index)