mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Added SDCARD resources to resource command.
This commit is contained in:
parent
4a8c496061
commit
66de9d4f76
1 changed files with 4 additions and 0 deletions
|
@ -3219,6 +3219,10 @@ const cliResourceValue_t resourceTable[] = {
|
||||||
#ifdef USE_MAG
|
#ifdef USE_MAG
|
||||||
{ OWNER_COMPASS_CS, PG_COMPASS_CONFIG, offsetof(compassConfig_t, mag_spi_csn), 0 },
|
{ OWNER_COMPASS_CS, PG_COMPASS_CONFIG, offsetof(compassConfig_t, mag_spi_csn), 0 },
|
||||||
#endif
|
#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)
|
static ioTag_t *getIoTag(const cliResourceValue_t value, uint8_t index)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue