mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Add void to function declarations/definitions where required
This commit is contained in:
parent
120955e26b
commit
53f5e87c7a
45 changed files with 130 additions and 128 deletions
|
@ -632,7 +632,7 @@ static bool sdcard_setBlockLength(uint32_t blockLen)
|
|||
/*
|
||||
* Returns true if the card is ready to accept read/write commands.
|
||||
*/
|
||||
static bool sdcard_isReady()
|
||||
static bool sdcard_isReady(void)
|
||||
{
|
||||
return sdcard.state == SDCARD_STATE_READY || sdcard.state == SDCARD_STATE_WRITING_MULTIPLE_BLOCKS;
|
||||
}
|
||||
|
@ -647,7 +647,7 @@ static bool sdcard_isReady()
|
|||
* the SDCARD_READY state.
|
||||
*
|
||||
*/
|
||||
static sdcardOperationStatus_e sdcard_endWriteBlocks()
|
||||
static sdcardOperationStatus_e sdcard_endWriteBlocks(void)
|
||||
{
|
||||
sdcard.multiWriteBlocksRemain = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue