Index: gcode.c =================================================================== --- gcode.c (revision 26768) +++ gcode.c (revision 26769) @@ -234,7 +234,7 @@ return pcb_hid_parse_command_line(argc, argv); } -static pcb_hid_attribute_t *gcode_get_export_options(int *n) +static pcb_hid_attribute_t *gcode_get_export_options(pcb_hid_t *hid, int *n) { static int last_unit_value = -1; @@ -382,7 +382,7 @@ }; if (!options) { - gcode_get_export_options(0); + gcode_get_export_options(hid, 0); for (i = 0; i < NUM_OPTIONS; i++) { gcode_values[i] = gcode_attribute_list[i].default_val; }