mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Cleanup ENUM usage
This commit is contained in:
parent
8bb6903a01
commit
46387c9dbe
51 changed files with 85 additions and 109 deletions
|
@ -67,7 +67,7 @@ typedef enum {
|
|||
SDCARD_STATE_SENDING_WRITE,
|
||||
SDCARD_STATE_WAITING_FOR_WRITE,
|
||||
SDCARD_STATE_WRITING_MULTIPLE_BLOCKS,
|
||||
SDCARD_STATE_STOPPING_MULTIPLE_BLOCK_WRITE,
|
||||
SDCARD_STATE_STOPPING_MULTIPLE_BLOCK_WRITE
|
||||
} sdcardState_e;
|
||||
|
||||
typedef struct sdcard_t {
|
||||
|
@ -352,7 +352,7 @@ static bool sdcard_readOCRRegister(uint32_t *result)
|
|||
typedef enum {
|
||||
SDCARD_RECEIVE_SUCCESS,
|
||||
SDCARD_RECEIVE_BLOCK_IN_PROGRESS,
|
||||
SDCARD_RECEIVE_ERROR,
|
||||
SDCARD_RECEIVE_ERROR
|
||||
} sdcardReceiveBlockStatus_e;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue