mirror of
https://github.com/Optiboot/optiboot.git
synced 2025-07-03 05:42:30 +03:00
Fix warning when LED_START_FLASHES is 0
flash_led() would be declared but not defined, which causes a warning for static functions.
This commit is contained in:
@ -359,7 +359,9 @@ void __attribute__((noinline)) verifySpace();
|
|||||||
void __attribute__((noinline)) watchdogConfig(uint8_t x);
|
void __attribute__((noinline)) watchdogConfig(uint8_t x);
|
||||||
|
|
||||||
static inline void getNch(uint8_t);
|
static inline void getNch(uint8_t);
|
||||||
|
#if LED_START_FLASHES > 0
|
||||||
static inline void flash_led(uint8_t);
|
static inline void flash_led(uint8_t);
|
||||||
|
#endif
|
||||||
static inline void watchdogReset();
|
static inline void watchdogReset();
|
||||||
static inline void writebuffer(int8_t memtype, uint8_t *mybuff,
|
static inline void writebuffer(int8_t memtype, uint8_t *mybuff,
|
||||||
uint16_t address, pagelen_t len);
|
uint16_t address, pagelen_t len);
|
||||||
|
Reference in New Issue
Block a user