From 0da087832b952986619c397b7863c9045cf82de5 Mon Sep 17 00:00:00 2001 From: Anthony Good Date: Fri, 18 Dec 2015 19:57:11 -0500 Subject: [PATCH] 2.0.2015121801 Fixed bug in update_display() with display always showing DOWN with elevation rotation (Thanks, UA9OLB) --- k3ng_rotator_controller.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/k3ng_rotator_controller.ino b/k3ng_rotator_controller.ino index 0ffd014..271e8bf 100644 --- a/k3ng_rotator_controller.ino +++ b/k3ng_rotator_controller.ino @@ -424,12 +424,12 @@ 2.0.2015111502 LANGUAGE_DUTCH courtesy of David, ON4BDS - 2.0.2015112501 - Fixed FEATURE_YWROBOT_I2C_DISPLAY with updated k3ngdisplay.h and k3ngdisplay..cpp. Pin settings are back in rotator_pins.h. + 2.0.2015121801 + Fixed bug in update_display() with display always showing DOWN with elevation rotation (Thanks, UA9OLB) */ -#define CODE_VERSION "2.0.2015112501" +#define CODE_VERSION "2.0.2015121801" #include #include @@ -3456,7 +3456,7 @@ void update_display(){ strcat(workstring," "); } if (el_request_queue_state == IN_PROGRESS_TO_TARGET) { - if (current_az_state() == ROTATING_UP) { + if (current_el_state() == ROTATING_UP) { strcat(workstring,UP_STRING); } else { strcat(workstring,DOWN_STRING);