/lcm-api

Primary LanguageCApache License 2.0Apache-2.0

(c) 2022-2024 HomeAccessoryKid

cd your-repo  
git submodule add https://github.com/HomeACcessoryKid/lcm-api components/lcm-api

Have a look at LCM Demo how to use these two calls

uint8_t lcm_read_count(); //read the restart count value from RTC  
void    lcm_temp_boot(); //restart with RTC value of temp_boot active  

Note that this no longer uses RTC, but a flash bitfield to transfer count and temp_boot flag