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

@@ -5667,8 +5667,8 @@ extern int nvic_execution_priority(void);
extern int kinetis_hsrun_disable(void);
extern int kinetis_hsrun_enable(void);
#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

extern void nmi_isr(void);

Loading…
Cancel
Save