Api Symbols: replace asserts with checks

merge ofw commit
This commit is contained in:
MX
2024-03-25 13:53:32 +03:00
parent 81a16e5a28
commit 585b7f963d
565 changed files with 3544 additions and 2691 deletions

View File

@@ -11,10 +11,10 @@ extern "C" {
#endif
/** Init speaker */
void furi_hal_speaker_init();
void furi_hal_speaker_init(void);
/** Deinit speaker */
void furi_hal_speaker_deinit();
void furi_hal_speaker_deinit(void);
/** Acquire speaker ownership
*
@@ -30,7 +30,7 @@ FURI_WARN_UNUSED bool furi_hal_speaker_acquire(uint32_t timeout);
*
* @warning You must release speaker ownership after use
*/
void furi_hal_speaker_release();
void furi_hal_speaker_release(void);
/** Check current process speaker ownership
*
@@ -38,7 +38,7 @@ void furi_hal_speaker_release();
*
* @return bool returns true if process owns speaker
*/
bool furi_hal_speaker_is_mine();
bool furi_hal_speaker_is_mine(void);
/** Play a note
*
@@ -61,7 +61,7 @@ void furi_hal_speaker_set_volume(float volume);
*
* @warning no ownership check if called from ISR
*/
void furi_hal_speaker_stop();
void furi_hal_speaker_stop(void);
#ifdef __cplusplus
}