Increased version to 0.5.3

This commit is contained in:
ole00 2023-10-02 22:40:18 +01:00
parent 4f1a89007b
commit 8b82d0ea0e
2 changed files with 6 additions and 4 deletions

View File

@ -34,7 +34,7 @@
*/
#define VERSION "0.5.2"
#define VERSION "0.5.3"
//#define DEBUG_PES
//#define DEBUG_VERIFY

View File

@ -45,7 +45,7 @@ To compile: gcc -g3 -O0 afterburner afterburner.c
#include "serial_port.h"
#define VERSION "v.0.5.1"
#define VERSION "v.0.5.3"
#define MAX_LINE 1024
@ -134,7 +134,8 @@ static int waitForSerialPrompt(char* buf, int bufSize, int maxDelay);
static char sendGenericCommand(const char* command, const char* errorText, int maxDelay, char printResult);
static void printGalTypes() {
for (int i = 1; i < sizeof(galinfo) / sizeof(galinfo[0]); i++) {
int i;
for (i = 1; i < sizeof(galinfo) / sizeof(galinfo[0]); i++) {
if (i > 1) {
printf(" ");
}
@ -211,7 +212,8 @@ static int8_t verifyArgs(char* type) {
printf("Error: missing GAL type. Use -t <type> to specify.\n");
return -1;
} else if (0 != type) {
for (int i = 1; i < sizeof(galinfo) / sizeof(galinfo[0]); i++) {
int i;
for (i = 1; i < sizeof(galinfo) / sizeof(galinfo[0]); i++) {
if (strcmp(type, galinfo[i].name) == 0) {
gal = galinfo[i].type;
break;