From: Frank Stettner Date: Sat, 7 Aug 2021 17:22:04 +0000 (+0200) Subject: hp-59306a: Rename channel groups from CHn to Rn X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3029e904e8729d48938b81233ab550b2353089cb;p=libsigrok.git hp-59306a: Rename channel groups from CHn to Rn Also fix the long name in the sr_dev_driver struct --- diff --git a/src/hardware/hp-59306a/api.c b/src/hardware/hp-59306a/api.c index 76ea8d7e..c7a0afca 100644 --- a/src/hardware/hp-59306a/api.c +++ b/src/hardware/hp-59306a/api.c @@ -75,7 +75,7 @@ static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi) nr = idx + 1; cg = g_malloc0(sizeof(*cg)); - cg->name = g_strdup_printf("CH%zu", nr); + cg->name = g_strdup_printf("R%zu", nr); cgc = g_malloc0(sizeof(*cgc)); cgc->number = nr; @@ -183,7 +183,7 @@ static int config_list(uint32_t key, GVariant **data, static struct sr_dev_driver hp_59306a_driver_info = { .name = "hp-59306a", - .longname = "hp-59306a", + .longname = "HP 59306A", .api_version = 1, .init = std_init, .cleanup = std_cleanup,