CHECK_FOR_BOOTLOADER now enabled by default in _config.h

This commit is contained in:
Pascal Langer
2019-08-24 21:50:36 +02:00
parent d4e77c6499
commit 2f3ea323c7
3 changed files with 8 additions and 7 deletions

View File

@@ -44,9 +44,10 @@
#endif
#endif
// Error if CHECK_FOR_BOOTLOADER is enabled but the 'Flash from TX' bootloader
// Warning if CHECK_FOR_BOOTLOADER is enabled but no bootloader
#if defined(ARDUINO_MULTI_NO_BOOT) && defined(CHECK_FOR_BOOTLOADER)
#error "You have enabled CHECK_FOR_BOOTLOADER but not selected the 'Flash from TX' bootloader."
#undef CHECK_FOR_BOOTLOADER
#warning "Disabling CHECK_FOR_BOOTLOADER since no bootloader is selected."
#endif
//Check number of banks