mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: restore default dataflash buffer size
This fix log corruption in copter
This commit is contained in:
parent
c83ba0fcdf
commit
0da7a7cbda
|
@ -106,8 +106,6 @@ define HAL_OS_FATFS_IO 1
|
||||||
# now some defines for logging and terrain data files
|
# now some defines for logging and terrain data files
|
||||||
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||||
define HAL_DATAFLASH_FILE_BUFSIZE 8
|
|
||||||
define HAL_DATAFLASH_MAV_BUFSIZE 2
|
|
||||||
|
|
||||||
# this defines the default maximum clock on I2C devices.
|
# this defines the default maximum clock on I2C devices.
|
||||||
define HAL_I2C_MAX_CLOCK 100000
|
define HAL_I2C_MAX_CLOCK 100000
|
||||||
|
|
|
@ -156,8 +156,6 @@ define HAL_INS_DEFAULT_ROTATION ROTATION_YAW_180
|
||||||
define HAL_OS_FATFS_IO 1
|
define HAL_OS_FATFS_IO 1
|
||||||
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||||
define HAL_DATAFLASH_FILE_BUFSIZE 8
|
|
||||||
define HAL_DATAFLASH_MAV_BUFSIZE 2
|
|
||||||
|
|
||||||
# define default battery setup
|
# define default battery setup
|
||||||
define HAL_BATT_VOLT_PIN 10
|
define HAL_BATT_VOLT_PIN 10
|
||||||
|
|
|
@ -157,8 +157,6 @@ SPIDEV osd SPI2 DEVID1 MAX7456_CS MODE0 10*MHZ 10*MHZ
|
||||||
define HAL_OS_FATFS_IO 1
|
define HAL_OS_FATFS_IO 1
|
||||||
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||||
define HAL_DATAFLASH_FILE_BUFSIZE 8
|
|
||||||
define HAL_DATAFLASH_MAV_BUFSIZE 2
|
|
||||||
|
|
||||||
# 8 PWM available by default
|
# 8 PWM available by default
|
||||||
define BOARD_PWM_COUNT_DEFAULT 8
|
define BOARD_PWM_COUNT_DEFAULT 8
|
||||||
|
|
|
@ -114,8 +114,6 @@ define HAL_STORAGE_SIZE 15360
|
||||||
define HAL_OS_FATFS_IO 1
|
define HAL_OS_FATFS_IO 1
|
||||||
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||||
define HAL_DATAFLASH_FILE_BUFSIZE 8
|
|
||||||
define HAL_DATAFLASH_MAV_BUFSIZE 2
|
|
||||||
|
|
||||||
# define default battery setup
|
# define default battery setup
|
||||||
define HAL_BATT_VOLT_PIN 12
|
define HAL_BATT_VOLT_PIN 12
|
||||||
|
|
Loading…
Reference in New Issue