Fix compiler warning

(cherry picked from commit 1236b6991b)
This commit is contained in:
George Baltz N3GB 2026-04-14 14:31:51 -04:00 committed by Nate Bargmann
parent 228e9461e2
commit d4b0eb2df8
No known key found for this signature in database
GPG key ID: FB2C5130D55A8819

View file

@ -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__);