Add void's to functions that have no parameters

This commit is contained in:
andrethomas2 2019-01-11 13:08:09 +02:00 committed by dh.harald
parent 2aac0683be
commit 8e43bb3810
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ uint8_t interrupts_in_use = 0;
/********************************************************************************************/ /********************************************************************************************/
void update_position() { void update_position(void) {
uint8_t s; uint8_t s;
/* /*
@ -57,7 +57,7 @@ void update_position() {
rotary_state = (s >> 2); rotary_state = (s >> 2);
} }
void update_rotary() { void update_rotary(void) {
if (MI_DESK_LAMP == Settings.module){ if (MI_DESK_LAMP == Settings.module){
if (light_power) { if (light_power) {
update_position(); update_position();