mirror of
https://github.com/espressif/openthread.git
synced 2026-10-03 14:27:38 +00:00
[api] add API to reset to bootloader mode (#9523)
This commit is contained in:
@@ -60,6 +60,15 @@ void otPlatReset(otInstance *aInstance)
|
||||
#endif // OPENTHREAD_PLATFORM_USE_PSEUDO_RESET
|
||||
}
|
||||
|
||||
#if OPENTHREAD_CONFIG_PLATFORM_BOOTLOADER_MODE_ENABLE
|
||||
otError otPlatResetToBootloader(otInstance *aInstance)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
|
||||
return OT_ERROR_NOT_CAPABLE;
|
||||
}
|
||||
#endif
|
||||
|
||||
otPlatResetReason otPlatGetResetReason(otInstance *aInstance)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
|
||||
Reference in New Issue
Block a user