]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hung-chang-dso-2100/api.c
hung-chang-dso-2100: Fix a gcc 7 compiler warning.
[libsigrok.git] / src / hardware / hung-chang-dso-2100 / api.c
index 56acd856eb620e447a1460b87ed173b44865169c..bad92c00b8f7344517866da9573d28cc72e8815f 100644 (file)
@@ -560,10 +560,12 @@ static int config_commit(const struct sr_dev_inst *sdi)
                break;
        case 0x00:
                state = 0x01;
+               /* Fallthrough */
        default:
                ret = hung_chang_dso_2100_move_to(sdi, 1);
                if (ret != SR_OK)
                        return ret;
+               /* Fallthrough */
        case 0x01:
                hung_chang_dso_2100_write_mbox(sdi->conn, 4);
        }