From d4b0eb2df80dcdac623e8f8a3cc41cc59c117caf Mon Sep 17 00:00:00 2001 From: George Baltz N3GB Date: Tue, 14 Apr 2026 14:31:51 -0400 Subject: [PATCH] Fix compiler warning (cherry picked from commit 1236b6991bbcb691aa0e3039396dd8e2ba4b5aff) --- rotators/heathkit/hd1780.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rotators/heathkit/hd1780.c b/rotators/heathkit/hd1780.c index 3256b10c3..150a8cf51 100644 --- a/rotators/heathkit/hd1780.c +++ b/rotators/heathkit/hd1780.c @@ -169,7 +169,8 @@ static int hd1780_rot_set_position(ROT *rot, azimuth_t azimuth, elevation_t elevation) { char cmdstr[8]; - const char execstr[5] = "\r", ok[3]; + const char execstr[5] = "\r"; + char ok[3]; int err; rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);