diff --git a/yaesu/ft600.c b/yaesu/ft600.c index 2372bb091..34a79d0e7 100644 --- a/yaesu/ft600.c +++ b/yaesu/ft600.c @@ -462,7 +462,7 @@ int ft600_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) return -RIG_EINVAL; } - if (width == NULL) + if (width != NULL) { *width = RIG_PASSBAND_NORMAL; }