Skip to content

Commit

Permalink
Supported devices output improved (help)
Browse files Browse the repository at this point in the history
  • Loading branch information
Polarisru authored Nov 3, 2020
1 parent 5fe7a9c commit dc54df8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#define COMPORT_LEN (32)
#define FUSES_LEN (128)

#define SW_VER_NUMBER "0.4"
#define SW_VER_DATE "11.04.2020"
#define SW_VER_NUMBER "0.5"
#define SW_VER_DATE "03.11.2020"

typedef struct
{
Expand Down Expand Up @@ -65,8 +65,7 @@ void help(void)
printf(" List of supported devices:\n ");
for (i = 1; i < DEVICES_GetNumber()+1; i++)
{
printf(DEVICES_GetNameByNumber(i-1));
printf("\t");
printf("%-14s", DEVICES_GetNameByNumber(i-1));
if (i % 4 == 0 ? printf("\n "): printf(""));
}
printf("\n");
Expand Down

0 comments on commit dc54df8

Please sign in to comment.