Skip to content

Commit 333974f

Browse files
authored
Corrects errors in returning constant labels (#1735)
1 parent a567349 commit 333974f

File tree

1 file changed

+1
-1
lines changed
  • src/rp2_common/pico_flash/include/pico

1 file changed

+1
-1
lines changed

src/rp2_common/pico_flash/include/pico/flash.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ bool flash_safe_execute_core_deinit(void);
7878
* \param enter_exit_timeout_ms the timeout for each of the enter/exit phases when coordinating with the other core
7979
*
8080
* \return PICO_OK on success (the function will have been called).
81-
* PICO_TIMEOUT on timeout (the function may have been called).
81+
* PICO_ERROR_TIMEOUT on timeout (the function may have been called).
8282
* PICO_ERROR_NOT_PERMITTED if safe execution is not possible (the function will not have been called).
8383
* PICO_ERROR_INSUFFICIENT_RESOURCES if the method fails due to dynamic resource exhaustion (the function will not have been called)
8484
* \note if \ref PICO_FLASH_ASSERT_ON_UNSAFE is 1, this function will assert in debug mode vs returning

0 commit comments

Comments
 (0)