diff --git a/libraries/AP_HAL_ChibiOS/Scheduler.cpp b/libraries/AP_HAL_ChibiOS/Scheduler.cpp index 2600f3914d..68789ae0e9 100644 --- a/libraries/AP_HAL_ChibiOS/Scheduler.cpp +++ b/libraries/AP_HAL_ChibiOS/Scheduler.cpp @@ -236,7 +236,7 @@ void Scheduler::reboot(bool hold_in_bootloader) } #endif -#ifndef NO_DATAFLASH +#ifndef NO_LOGGING //stop logging if (AP_Logger::get_singleton()) { AP::logger().StopLogging(); diff --git a/libraries/AP_HAL_ChibiOS/hwdef/iomcu/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/iomcu/hwdef.dat index fc2479a754..0fd23cb98d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/iomcu/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/iomcu/hwdef.dat @@ -128,7 +128,7 @@ define HAL_USE_RTC FALSE define HAL_NO_FLASH_SUPPORT TRUE define HAL_NO_UARTDRIVER TRUE define DISABLE_SERIAL_ESC_COMM TRUE -define NO_DATAFLASH TRUE +define NO_LOGGING TRUE define DMA_RESERVE_SIZE 0