Skip to content

Commit 03996da

Browse files
committed
Fixed modem reset functionality to avoid low time to trigger module switch off
1 parent df9ac85 commit 03996da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F437xG/TARGET_UBLOX_C030/onboard_modem_api.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ void onboard_modem_init()
4545
#if defined(TARGET_UBLOX_C030_R41XM)
4646
// Set the pin to high so on powerup we can set low
4747
gpio_init_inout(&gpio, MDMPWRON, PIN_OUTPUT, OpenDrain, 1);
48-
#else
48+
#endif
4949
// Take us out of reset
5050
gpio_init_out_ex(&gpio, MDMRST, 1);
51-
#endif
5251
}
5352

5453
void onboard_modem_deinit()

0 commit comments

Comments
 (0)