Project

General

Profile

Revision 193

Added by Kevin Woo about 14 years ago

Made the main function in the bootloader naked, saved about 50 bytes

View differences:

trunk/bootloader/bootloader.c
11 11

  
12 12
//Function prototypes
13 13
void (*main_start)(void) = BOOT_START/2 - 1;
14
int main(void) __attribute__ ((naked));
14 15

  
15 16
typedef union {
16 17
    uint8_t bytes[2];

Also available in: Unified diff