Skip to content
Snippets Groups Projects
Commit 5663aa46 authored by slevy's avatar slevy
Browse files

Scrap unused variable.

parent 419a542e
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ int pp_spi_parse_args( struct stuff **, int argc, char *argv[], void * ) {
}
} else if(!strcmp(subcmd, "chans")) {
int i, cno = argc>2 ? atoi(argv[2]) : spi.nchan;
int cno = argc>2 ? atoi(argv[2]) : spi.nchan;
if(cno > COUNT(spi.chan) || cno < 1) {
msg("spi chans %d: must be in range 1..%d", cno, spi.nchan);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment