Skip to content

Commit 85cc30a

Browse files
authored
Merge pull request #9485 from u-blox/R410
UBLOX_C030: Fix modem reset functionality
2 parents cc94690 + 03996da commit 85cc30a

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)