Skip to content

Commit

Permalink
tools: gpio-hammer: Apply scripts/Lindent and retain good changes
Browse files Browse the repository at this point in the history
"retain good changes" means that I left the help string split up instead
of having this weird thing where it tries to merge together the last three
lines and it looks **really** bad

Signed-off-by: Gabriel Ravier <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
  • Loading branch information
GabrielRavier authored and brgl committed Mar 25, 2020
1 parent ee203bb commit 1003bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gpio/gpio-hammer.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int hammer_device(const char *device_name, unsigned int *lines, int nlines,

fprintf(stdout, "[%c] ", swirr[j]);
j++;
if (j == sizeof(swirr)-1)
if (j == sizeof(swirr) - 1)
j = 0;

fprintf(stdout, "[");
Expand Down

0 comments on commit 1003bc1

Please sign in to comment.