forked from Archive/PX4-Autopilot
holybro/kakuteh7: switch to flash-based params
This commit is contained in:
parent
e780a583cd
commit
2776b723ea
|
@ -3,6 +3,16 @@
|
|||
# board specific defaults
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# transision from params file to flash-based params (2022-08)
|
||||
if [ -f $PARAM_FILE ]
|
||||
then
|
||||
param load $PARAM_FILE
|
||||
param save
|
||||
# create a backup
|
||||
mv $PARAM_FILE ${PARAM_FILE}.bak
|
||||
reboot
|
||||
fi
|
||||
|
||||
param set-default BAT1_V_DIV 11.2
|
||||
param set-default BAT1_A_PER_V 59.5
|
||||
|
||||
|
|
|
@ -182,8 +182,7 @@
|
|||
|
||||
#define BOARD_ENABLE_CONSOLE_BUFFER
|
||||
|
||||
// not working on h7 yet, due to ECC
|
||||
//#define FLASH_BASED_PARAMS
|
||||
#define FLASH_BASED_PARAMS
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
|
Loading…
Reference in New Issue