You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that reset::restart does not have a return type. As the device is restarting and thus never leaving this function wouldn't it make sense to set the return type as the never type / !?
The generated c ffi function binding are already using this as return value:
extern"C"{#[doc = " @brief Restart PRO and APP CPUs.\n\n This function can be called both from PRO and APP CPUs.\n After successful restart, CPU reset reason will be SW_CPU_RESET.\n Peripherals (except for WiFi, BT, UART0, SPI1, and legacy timers) are not reset.\n This function does not return."]pubfnesp_restart() -> !;}
The text was updated successfully, but these errors were encountered:
I noticed that
reset::restart
does not have a return type. As the device is restarting and thus never leaving this function wouldn't it make sense to set the return type as thenever type / !
?The generated c ffi function binding are already using this as return value:
The text was updated successfully, but these errors were encountered: