mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Introduce per device pin pre-init
This commit is contained in:
parent
2e81109be1
commit
9ea1428d11
44 changed files with 219 additions and 201 deletions
|
@ -112,6 +112,7 @@ void sdcardInsertionDetectDeinit(void);
|
|||
bool sdcard_isInserted(void);
|
||||
|
||||
typedef struct sdcardVTable_s {
|
||||
void (*sdcard_preInit)(const sdcardConfig_t *config);
|
||||
void (*sdcard_init)(const sdcardConfig_t *config);
|
||||
bool (*sdcard_readBlock)(uint32_t blockIndex, uint8_t *buffer, sdcard_operationCompleteCallback_c callback, uint32_t callbackData);
|
||||
sdcardOperationStatus_e (*sdcard_beginWriteBlocks)(uint32_t blockIndex, uint32_t blockCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue