From eb55315d4fad7775f614c3e0d2610e526462ca2c Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Fri, 10 Jul 2020 20:49:14 -0700 Subject: [PATCH] Explicit `void` for no parameters Per @hathach comments https://github.com/adafruit/Adafruit_nRF52_Arduino/pull/496/files/d7e005cc99d4db22a3e6940279e5a59b995f247e#r452772810 --- cores/nRF5/HardwarePWM.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/nRF5/HardwarePWM.h b/cores/nRF5/HardwarePWM.h index 25e60e93..46bcd334 100644 --- a/cores/nRF5/HardwarePWM.h +++ b/cores/nRF5/HardwarePWM.h @@ -112,8 +112,8 @@ class HardwarePWM uint16_t readChannel (uint8_t ch) const; // Get count of used / free channels - uint8_t usedChannelCount() const; - uint8_t freeChannelCount() const; + uint8_t usedChannelCount(void) const; + uint8_t freeChannelCount(void) const; #if CFG_DEBUG static void DebugOutput(Stream& logger);