From c0187e7687ddae3adee864ccb9c83d04ee0fe0bf Mon Sep 17 00:00:00 2001 From: Dawid SQ6EMM/SN6M Date: Sat, 11 Nov 2017 09:07:18 +0100 Subject: [PATCH] allowing functions to return their calculated values --- k3ng_rotator_controller/k3ng_rotator_controller.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k3ng_rotator_controller/k3ng_rotator_controller.ino b/k3ng_rotator_controller/k3ng_rotator_controller.ino index eccbd86..57b8e17 100644 --- a/k3ng_rotator_controller/k3ng_rotator_controller.ino +++ b/k3ng_rotator_controller/k3ng_rotator_controller.ino @@ -9860,7 +9860,7 @@ char * az_el_calibrated_string(){ #ifdef FEATURE_CLOCK char * timezone_modified_clock_string(){ - char return_string[32] = ""; + static char return_string[32] = ""; char temp_string[16] = ""; @@ -9910,7 +9910,7 @@ char * timezone_modified_clock_string(){ #ifdef FEATURE_CLOCK char * zulu_clock_string(){ - char return_string[32] = ""; + static char return_string[32] = ""; char temp_string[16] = "";