Attention is currently required from: Felix Singer, Edward O'Callaghan.
1 comment:
File rayer_spi.c:
if (prog_type) {
for (; prog->type != NULL; prog++) {
if (strcasecmp(prog_type, prog->type) == 0) {
break;
}
}
free(prog_type);
if (prog->type == NULL) {
msg_perr("Error: Invalid device type specified.\n");
return 1;
}
}
No, actually I didn't push CB:68238 before which made it unclear what I was thinking. […]
The idea is that the `prog_type` string isn't needed in the init code. So, instead of obtaining the `prog_type` string from `get_params()`, you could obtain `prog` directly.
To view, visit change 68230. To unsubscribe, or for help writing mail filters, visit settings.