Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ main_sources(COMMON_SRC
drivers/dronecan/libcanard/canard_stm32_driver.h
drivers/dronecan/dronecan.c
drivers/dronecan/dronecan.h

drivers/display.c
drivers/display.h
drivers/display_canvas.c
Expand Down Expand Up @@ -233,8 +233,6 @@ main_sources(COMMON_SRC
drivers/pitotmeter/pitotmeter_dlvr_l10d.h
drivers/pitotmeter/pitotmeter_msp.c
drivers/pitotmeter/pitotmeter_msp.h
drivers/pitotmeter/pitotmeter_virtual.c
drivers/pitotmeter/pitotmeter_virtual.h
drivers/pitotmeter/pitotmeter_fake.h
drivers/pitotmeter/pitotmeter_fake.c
drivers/pwm_esc_detect.c
Expand Down Expand Up @@ -288,7 +286,7 @@ main_sources(COMMON_SRC
drivers/vtx_common.c
drivers/vtx_common.h


fc/cli.c
fc/cli.h
fc/config.c
Expand Down
94 changes: 0 additions & 94 deletions src/main/drivers/pitotmeter/pitotmeter_virtual.c

This file was deleted.

20 changes: 0 additions & 20 deletions src/main/drivers/pitotmeter/pitotmeter_virtual.h

This file was deleted.

4 changes: 3 additions & 1 deletion src/main/fc/fc_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,9 @@ void init(void)
#endif

#ifdef USE_PITOT
pitotStartCalibration();
if (detectedSensors[SENSOR_INDEX_PITOT] != PITOT_VIRTUAL) {
pitotStartCalibration();
}
#endif

#if defined(USE_VTX_CONTROL)
Expand Down
Loading
Loading