Browse Source

Add default value to BOOTLOADER_SIZE

led_matrix
tmk 11 years ago
parent
commit
fe2230cf60
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      common/bootloader.c

+ 2
- 1
common/bootloader.c View File

@@ -19,7 +19,8 @@
* USBaspLoader 2048
*/
#ifndef BOOTLOADER_SIZE
#warn To use bootloader_jump() you need to define BOOTLOADER_SIZE in config.h.
#warning To use bootloader_jump() you need to define BOOTLOADER_SIZE in config.h.
#define BOOTLOADER_SIZE 4096
#endif

#define FLASH_SIZE (FLASHEND + 1L)