X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Ftext%2Fhex.c;h=e4806355b371b6519f93cf7e296388dece019669;hb=d494a4aa9dcbd90126d86757d16fa3e0f0a419f3;hp=285102ee461f7005289e7ee0bc3b7d39fc69227e;hpb=f4314d7e0611917bdc7713dbffe17559490666d6;p=libsigrok.git diff --git a/output/text/hex.c b/output/text/hex.c index 285102ee..e4806355 100644 --- a/output/text/hex.c +++ b/output/text/hex.c @@ -90,10 +90,10 @@ int data_hex(struct sr_output *o, const char *data_in, uint64_t length_in, } struct sr_output_format output_text_hex = { - "hex", - "Hexadecimal (takes argument, default 192)", - SR_DF_LOGIC, - init_hex, - data_hex, - event, + .extension = "hex", + .description = "Hexadecimal (takes argument, default 192)", + .df_type = SR_DF_LOGIC, + .init = init_hex, + .data = data_hex, + .event = event, };