Fix build

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-05-01 12:59:36 +02:00
parent ee13b6904a
commit b4813e9db2
4 changed files with 10 additions and 5 deletions

View File

@@ -98,7 +98,10 @@ bool flash_available = false;
//this function has to be called from the core 0
void low_flash_task(void) {
void low_flash_task(void);
void low_flash_commit(void);
void low_flash_task(void){
if (mutex_try_enter(&mtx_flash, NULL) == true) {
if (locked_out == true && flash_available == true && ready_pages > 0) {
//printf(" DO_FLASH AVAILABLE\n");