mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 02:38:35 -07:00
Api Symbols: replace asserts with checks
merge ofw commit
This commit is contained in:
@@ -14,7 +14,7 @@ void fatfs_init(void) {
|
||||
*
|
||||
* @return Time in DWORD (toasters per square washing machine)
|
||||
*/
|
||||
DWORD get_fattime() {
|
||||
DWORD get_fattime(void) {
|
||||
DateTime furi_time;
|
||||
furi_hal_rtc_get_datetime(&furi_time);
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ typedef struct {
|
||||
|
||||
static SectorCache* cache = NULL;
|
||||
|
||||
void sector_cache_init() {
|
||||
void sector_cache_init(void) {
|
||||
if(cache == NULL) {
|
||||
cache = memmgr_alloc_from_pool(sizeof(SectorCache));
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ extern "C" {
|
||||
/**
|
||||
* @brief Init sector cache system
|
||||
*/
|
||||
void sector_cache_init();
|
||||
void sector_cache_init(void);
|
||||
|
||||
/**
|
||||
* @brief Get sector data from cache
|
||||
|
||||
Reference in New Issue
Block a user