Document code

This commit is contained in:
Alex Voinea 2020-05-27 10:16:44 +03:00
parent f11ab17746
commit e985d17bd1
No known key found for this signature in database
GPG Key ID: F5034E7CFCF2F973
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ struct block_t;
extern struct block_t *block_buffer;
//! @brief Enter an STK500 compatible Optiboot boot loader waiting for flashing the languages to an external flash memory.
//! @return 1 if "start\n" was not sent. Optiboot was skipped
//! @return 0 if "start\n" was sent. Optiboot ran normally. No need to send "start\n" in setup()
uint8_t optiboot_w25x20cl_enter()
{
if (boot_app_flags & BOOT_APP_FLG_USER0) return 1;