stm32/mboot: Remove redundant code in mboot_state_change function.

This code was made redundant in 87fbceef26

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2022-07-05 23:47:54 +10:00
parent 5ab7dfe6db
commit d27e58449b
1 changed files with 0 additions and 4 deletions

View File

@ -209,11 +209,7 @@ int mboot_get_reset_mode_default(void);
void mboot_state_change_default(mboot_state_t state, uint32_t arg);
static inline void mboot_state_change(mboot_state_t state, uint32_t arg) {
#if defined(MBOOT_BOARD_STATE_CHANGE)
return MBOOT_BOARD_STATE_CHANGE(state, arg);
#else
return mboot_state_change_default(state, arg);
#endif
}
#endif // MICROPY_INCLUDED_STM32_MBOOT_MBOOT_H