holybro/kakuteh7: switch to flash-based params

This commit is contained in:
Beat Küng 2022-08-26 11:21:28 +02:00
parent e780a583cd
commit 2776b723ea
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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