Browse Source

Merge pull request #188 from ashtuchkin/fix-warnings

Fix compilation warnings related to kinetis_hsrun_enable() for older teensies
main
Paul Stoffregen 8 years ago
parent
commit
65dea14c77
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy3/kinetis.h

+ 2
- 2
teensy3/kinetis.h View File

extern int kinetis_hsrun_disable(void); extern int kinetis_hsrun_disable(void);
extern int kinetis_hsrun_enable(void); extern int kinetis_hsrun_enable(void);
#else #else
#define kinetis_hsrun_disable() (0)
#define kinetis_hsrun_enable() (0)
__attribute__((always_inline)) static inline int kinetis_hsrun_disable(void) { return 0; }
__attribute__((always_inline)) static inline int kinetis_hsrun_enable(void) { return 0; }
#endif #endif


extern void nmi_isr(void); extern void nmi_isr(void);

Loading…
Cancel
Save