Skip to content
  • rahix's avatar
    chore(api-lock): Port to new mutex API · 75278836
    rahix authored
    
    
    Using a bare FreeRTOS mutex is deprecated.  Replace it with the new
    `struct mutex`.  This should increase stability.
    
    Additionally, fix a bug in `lifecycle.c:do_load()` where the function
    would return without unlocking the API mutex if `hardware_reset()`
    returns an error.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>
    75278836