Browse Source

Never inline _init_Teensyduino_internal_

main
PaulStoffregen 8 years ago
parent
commit
c117b46778
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      teensy3/mk20dx128.c
  2. +1
    -0
      teensy3/pins_teensy.c

+ 1
- 1
teensy3/mk20dx128.c View File



extern int main (void); extern int main (void);
void ResetHandler(void); void ResetHandler(void);
void _init_Teensyduino_internal_(void);
void _init_Teensyduino_internal_(void) __attribute__((noinline));
void __libc_init_array(void); void __libc_init_array(void);





+ 1
- 0
teensy3/pins_teensy.c View File

#endif #endif


//void init_pins(void) //void init_pins(void)
__attribute__((noinline))
void _init_Teensyduino_internal_(void) void _init_Teensyduino_internal_(void)
{ {
#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__) #if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)

Loading…
Cancel
Save