mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
boards: lpc17xx_40xx: lpc17_40_boot: fix late_init
the modem init should not be enabled if MODEM_U_BLOX is not enabled Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
9a17ad6b26
commit
04f8d72745
@@ -89,7 +89,9 @@ void lpc17_40_boardinitialize(void)
|
||||
#ifdef CONFIG_BOARD_LATE_INITIALIZE
|
||||
void board_late_initialize(void)
|
||||
{
|
||||
#ifdef CONFIG_MODEM_U_BLOX
|
||||
lpc17_40_ubxmdm_init(false);
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
lpc17_40_configgpio(C027_MDMEN | GPIO_VALUE_ZERO); /* Modem disabled */
|
||||
|
||||
Reference in New Issue
Block a user