AP_HAL_ChibiOS: remove GCS.h from header files

This commit is contained in:
Peter Barker 2022-11-11 10:31:41 +11:00 committed by Andrew Tridgell
parent 006fb6f60b
commit c7f08e422c
1 changed files with 5 additions and 0 deletions

View File

@ -2960,6 +2960,11 @@ def add_bootloader_defaults(f):
#define HAL_GYROFFT_ENABLED 0
#endif
// bootloaders don't talk to the GCS:
#ifndef HAL_GCS_ENABLED
#define HAL_GCS_ENABLED 0
#endif
#define HAL_MAX_CAN_PROTOCOL_DRIVERS 0
''')