From 333974fd6cb3b6764581d4cd235b7c171be56d83 Mon Sep 17 00:00:00 2001 From: Hiroyuki OYAMA Date: Sat, 22 Jun 2024 04:24:44 +0900 Subject: [PATCH] Corrects errors in returning constant labels (#1735) --- src/rp2_common/pico_flash/include/pico/flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp2_common/pico_flash/include/pico/flash.h b/src/rp2_common/pico_flash/include/pico/flash.h index 8236d6ec3..9b0e66fd0 100644 --- a/src/rp2_common/pico_flash/include/pico/flash.h +++ b/src/rp2_common/pico_flash/include/pico/flash.h @@ -78,7 +78,7 @@ bool flash_safe_execute_core_deinit(void); * \param enter_exit_timeout_ms the timeout for each of the enter/exit phases when coordinating with the other core * * \return PICO_OK on success (the function will have been called). - * PICO_TIMEOUT on timeout (the function may have been called). + * PICO_ERROR_TIMEOUT on timeout (the function may have been called). * PICO_ERROR_NOT_PERMITTED if safe execution is not possible (the function will not have been called). * PICO_ERROR_INSUFFICIENT_RESOURCES if the method fails due to dynamic resource exhaustion (the function will not have been called) * \note if \ref PICO_FLASH_ASSERT_ON_UNSAFE is 1, this function will assert in debug mode vs returning