Skip to content

Commit

Permalink
Redefine tone() without ISR
Browse files Browse the repository at this point in the history
Other minor changes include:
* Enable RTT option for output
  (requires platform.local.txt or boards.local.txt)
* Allow setting compiler optimization
  (requires platform.local.txt or boards.local.txt)
  • Loading branch information
henrygab committed Aug 3, 2020
1 parent d7b18ed commit 29843da
Show file tree
Hide file tree
Showing 5 changed files with 452 additions and 131 deletions.
2 changes: 2 additions & 0 deletions cores/nRF5/HardwarePWM.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ class HardwarePWM

#if CFG_DEBUG
static void DebugOutput(Stream& logger);
#else
static void inline DebugOutput(Stream& logger) { (void)logger; };
#endif // CFG_DEBUG
};

Expand Down
Loading

0 comments on commit 29843da

Please sign in to comment.