Merge remote-tracking branch 'OFW/dev' into dev

This commit is contained in:
MX
2024-07-02 16:25:34 +03:00
22 changed files with 1094 additions and 260 deletions

View File

@@ -323,9 +323,9 @@ void furi_hal_flash_erase(uint8_t page) {
op_stat = DWT->CYCCNT - op_stat;
FURI_LOG_T(
TAG,
"erase took %lu clocks or %fus",
"erase took %lu clocks or %luus",
op_stat,
(double)((float)op_stat / (float)furi_hal_cortex_instructions_per_microsecond()));
op_stat / furi_hal_cortex_instructions_per_microsecond());
}
static inline void furi_hal_flash_write_dword_internal_nowait(size_t address, uint64_t* data) {
@@ -452,9 +452,9 @@ void furi_hal_flash_program_page(const uint8_t page, const uint8_t* data, uint16
op_stat = DWT->CYCCNT - op_stat;
FURI_LOG_T(
TAG,
"program_page took %lu clocks or %fus",
"program_page took %lu clocks or %luus",
op_stat,
(double)((float)op_stat / (float)furi_hal_cortex_instructions_per_microsecond()));
op_stat / furi_hal_cortex_instructions_per_microsecond());
}
int16_t furi_hal_flash_get_page_number(size_t address) {