File tree Expand file tree Collapse file tree 4 files changed +3
-8
lines changed
connectivity/drivers/cellular/TELIT/HE910
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH Expand file tree Collapse file tree 4 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ target_include_directories(mbed-cellular
8
8
9
9
target_sources (mbed-cellular
10
10
INTERFACE
11
+ ONBOARD_TELIT_HE910.cpp
11
12
TELIT_HE910.cpp
12
13
)
Original file line number Diff line number Diff line change @@ -81,8 +81,7 @@ void ONBOARD_TELIT_HE910::power_up()
81
81
// Do nothing if it's already powered.
82
82
if (gpio_read (&radioOn)) {
83
83
return ;
84
- }
85
- else {
84
+ } else {
86
85
// power it up.
87
86
release_power_button ();
88
87
}
@@ -107,8 +106,7 @@ void ONBOARD_TELIT_HE910::power_down()
107
106
// Do nothing if it's already off.
108
107
if (!gpio_read (&radioOn)) {
109
108
return ;
110
- }
111
- else {
109
+ } else {
112
110
// power down.
113
111
press_power_button ();
114
112
}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ elseif("MTS_DRAGONFLY_F413RH" IN_LIST MBED_TARGET_LABELS)
9
9
target_include_directories (mbed-core INTERFACE TARGET_MTS_DRAGONFLY_F413RH )
10
10
set (PERIPHERALPINS_FILE TARGET_MTS_DRAGONFLY_F413RH/PeripheralPins.c )
11
11
set (SYSTEM_CLOCK_FILE TARGET_MTS_DRAGONFLY_F413RH/system_clock.c )
12
-
13
- # TODO CMAKE: Should the ONBOARD_TELIT_HE910.cpp and ONBOARD_TELIT_HE910.h
14
- # below be moved to mbed-os/connectivity/drivers/cellular/TELIT/HE910 ?
15
- target_sources (mbed-core INTERFACE TARGET_MTS_DRAGONFLY_F413RH/ONBOARD_TELIT_HE910.cpp )
16
12
elseif ("NUCLEO_F413ZH" IN_LIST MBED_TARGET_LABELS )
17
13
target_include_directories (mbed-core INTERFACE TARGET_NUCLEO_F413ZH )
18
14
set (PERIPHERALPINS_FILE TARGET_NUCLEO_F413ZH/PeripheralPins.c )
You can’t perform that action at this time.
0 commit comments