HAL_ChibiOS: save more space in the bootloader

This commit is contained in:
Andrew Tridgell
2018-06-25 21:22:31 +10:00
parent e870b5f00a
commit 369ac5edd0
6 changed files with 80 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
*/
#include <AP_HAL/AP_HAL.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && !defined(HAL_NO_UARTDRIVER)
#include "UARTDriver.h"
#include "GPIO.h"
#include <usbcfg.h>