Disable power-down interupt in SD-logger code (#3481)

This commit is contained in:
Christophe De Wagter
2025-06-25 12:37:49 +02:00
committed by GitHub
parent e34b42cd7f
commit 993198a418
3 changed files with 14 additions and 2 deletions
+3 -1
View File
@@ -8,9 +8,10 @@
<firmware name="fixedwing">
<configure name="USE_MAGNETOMETER" value="TRUE"/>
<define name="USE_BAROMETER" value="TRUE"/>
<target name="ap" board="px4fmu_5.0_chibios">
<define name="USE_BARO_BOARD" value="1"/>
<define name="USE_BARO_BOARD" value="TRUE"/>
<configure name="PERIODIC_FREQUENCY" value="120"/>
<module name="radio_control" type="sbus">
<configure name="SBUS_PORT" value="UART3"/>
@@ -51,6 +52,7 @@
</module>
<!-- Logger -->
<define name="SDLOG_ENABLE_LOWBAT_FLUSH" value="FALSE"/>
<module name="tlsf"/>
<module name="pprzlog"/>
<module name="logger" type="sd_chibios"/>
+1
View File
@@ -15,6 +15,7 @@
<define name="SDLOG_AUTO_FLUSH_PERIOD" value="10" unit="s" description="Data flush period. Shorter period may decrease performances. Default: 10s"/>
<define name="SDLOG_CONTIGUOUS_STORAGE_MEM" value="50" unit="Mo" description="Try to reserve a given contiguous mass storage memory. Default: 50Mo"/>
<define name="SDLOG_PREFLIGHT_ERROR" value="FALSE" description="If set to TRUE, the autopilot will not arm if the SDLogger is not running. Default: FALSE"/>
<define name="SDLOG_ENABLE_LOWBAT_FLUSH" value="TRUE" description="If set to TRUE or undefined, the autopilot will flush the buffer on detecting low voltage by ADC."/>
</doc>
<settings>
<dl_settings>