Poe-tay-toe, poe-tah-toe
This commit is contained in:
1 parent
e99b5ea40e
commit
02045e3b30
2 files changed
+2
-4
No files matched your search
@@ -92,6 +92,8 @@ void HardwarePWM::DebugOutput(Stream& logger)
|
||||
}
|
||||
logger.printf("\n");
|
||||
}
|
||||
#else
|
||||
void HardwarePWM::DebugOutput(Stream& logger) {}
|
||||
#endif // CFG_DEBUG
|
||||
|
||||
// returns true ONLY when (1) no PWM channel has a pin, and (2) the owner token is nullptr
|
||||
|
||||
@@ -116,11 +116,7 @@ class HardwarePWM
|
||||
uint8_t usedChannelCount(void) const;
|
||||
uint8_t freeChannelCount(void) const;
|
||||
|
||||
#if CFG_DEBUG
|
||||
static void DebugOutput(Stream& logger);
|
||||
#else
|
||||
static void inline DebugOutput(Stream& logger) { (void)logger; };
|
||||
#endif // CFG_DEBUG
|
||||
};
|
||||
|
||||
extern HardwarePWM HwPWM0;
|
||||
|
||||
Reference in new issue
Block a user