@@ -74,7 +74,7 @@ struct uclogic_params_pen {
7474 /* Report ID, if reports should be tweaked, zero if not */
7575 unsigned int id ;
7676 /* The list of subreports */
77- struct uclogic_params_pen_subreport subreport_list [1 ];
77+ struct uclogic_params_pen_subreport subreport_list [2 ];
7878 /* Type of in-range reporting, only valid if "id" is not zero */
7979 enum uclogic_params_pen_inrange inrange ;
8080 /*
@@ -210,6 +210,7 @@ extern int uclogic_params_init(struct uclogic_params *params,
210210 ".pen.desc_size = %u\n" \
211211 ".pen.id = %u\n" \
212212 ".pen.subreport_list[0] = {0x%02hhx, %hhu}\n" \
213+ ".pen.subreport_list[1] = {0x%02hhx, %hhu}\n" \
213214 ".pen.inrange = %s\n" \
214215 ".pen.fragmented_hires = %s\n" \
215216 ".pen.tilt_y_flipped = %s\n" \
@@ -233,6 +234,8 @@ extern int uclogic_params_init(struct uclogic_params *params,
233234 (_params)->pen.id, \
234235 (_params)->pen.subreport_list[0].value, \
235236 (_params)->pen.subreport_list[0].id, \
237+ (_params)->pen.subreport_list[1].value, \
238+ (_params)->pen.subreport_list[1].id, \
236239 uclogic_params_pen_inrange_to_str((_params)->pen.inrange), \
237240 ((_params)->pen.fragmented_hires ? "true" : "false"), \
238241 ((_params)->pen.tilt_y_flipped ? "true" : "false"), \
0 commit comments