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