Skip to content

Commit 29843da

Browse files
committed
Redefine tone() without ISR
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)
1 parent d7b18ed commit 29843da

File tree

5 files changed

+452
-131
lines changed

5 files changed

+452
-131
lines changed

cores/nRF5/HardwarePWM.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ class HardwarePWM
117117

118118
#if CFG_DEBUG
119119
static void DebugOutput(Stream& logger);
120+
#else
121+
static void inline DebugOutput(Stream& logger) { (void)logger; };
120122
#endif // CFG_DEBUG
121123
};
122124

0 commit comments

Comments
 (0)