# HG changeset patch # User Michiel Broek # Date 1417439722 -3600 # Node ID 3d2bd47f35b4801dee649fe3f21e9ee20be3299d # Parent dbaed96a4a0caeed9a66625159fcc4552309afa7 Use confirm instead of enter key when stepping to a new beer or fridge temperature diff -r dbaed96a4a0c -r 3d2bd47f35b4 thermferm/thermferm.c --- a/thermferm/thermferm.c Sat Nov 29 21:03:31 2014 +0100 +++ b/thermferm/thermferm.c Mon Dec 01 14:15:22 2014 +0100 @@ -483,7 +483,7 @@ temp_temp += 0.1; go_menu(MENU_FRIDGE_TEMP); } - if (key == KEY_ENTER) { + if (key == KEY_CONFIRM) { if (temp_temp != current_unit->fridge_set) { syslog(LOG_NOTICE, "Fridge temperature changed from %.1f to %.1f degrees from the panel", current_unit->fridge_set, temp_temp); current_unit->fridge_set = temp_temp; @@ -523,7 +523,7 @@ temp_temp += 0.1; go_menu(MENU_BEER_TEMP); } - if (key == KEY_ENTER) { + if (key == KEY_CONFIRM) { if (temp_temp != current_unit->beer_set) { syslog(LOG_NOTICE, "Beer temperature changed from %.1f to %.1f degrees from the panel", current_unit->beer_set, temp_temp); current_unit->beer_set = temp_temp;