Browse Source

Fix compile warnings related to kinetis_hsrun_enable

main
Alexander Shtuchkin 8 years ago
parent
commit
c7c0ce05aa
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