From 8e43bb38101728af57a759620b7018dfb9b8aea4 Mon Sep 17 00:00:00 2001 From: andrethomas2 <43345003+andrethomas2@users.noreply.github.com> Date: Fri, 11 Jan 2019 13:08:09 +0200 Subject: [PATCH] Add void's to functions that have no parameters --- sonoff/support_rotary.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonoff/support_rotary.ino b/sonoff/support_rotary.ino index 842bc7ca5..2e1cf8f3d 100644 --- a/sonoff/support_rotary.ino +++ b/sonoff/support_rotary.ino @@ -32,7 +32,7 @@ uint8_t interrupts_in_use = 0; /********************************************************************************************/ -void update_position() { +void update_position(void) { uint8_t s; /* @@ -57,7 +57,7 @@ void update_position() { rotary_state = (s >> 2); } -void update_rotary() { +void update_rotary(void) { if (MI_DESK_LAMP == Settings.module){ if (light_power) { update_position();