mirror of
https://github.com/ole00/afterburner.git
synced 2025-02-20 15:28:59 +00:00
Increased version to 0.5.3
This commit is contained in:
parent
4f1a89007b
commit
8b82d0ea0e
@ -34,7 +34,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define VERSION "0.5.2"
|
#define VERSION "0.5.3"
|
||||||
|
|
||||||
//#define DEBUG_PES
|
//#define DEBUG_PES
|
||||||
//#define DEBUG_VERIFY
|
//#define DEBUG_VERIFY
|
||||||
|
@ -45,7 +45,7 @@ To compile: gcc -g3 -O0 afterburner afterburner.c
|
|||||||
|
|
||||||
#include "serial_port.h"
|
#include "serial_port.h"
|
||||||
|
|
||||||
#define VERSION "v.0.5.1"
|
#define VERSION "v.0.5.3"
|
||||||
|
|
||||||
|
|
||||||
#define MAX_LINE 1024
|
#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 char sendGenericCommand(const char* command, const char* errorText, int maxDelay, char printResult);
|
||||||
|
|
||||||
static void printGalTypes() {
|
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) {
|
if (i > 1) {
|
||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
@ -211,7 +212,8 @@ static int8_t verifyArgs(char* type) {
|
|||||||
printf("Error: missing GAL type. Use -t <type> to specify.\n");
|
printf("Error: missing GAL type. Use -t <type> to specify.\n");
|
||||||
return -1;
|
return -1;
|
||||||
} else if (0 != type) {
|
} 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) {
|
if (strcmp(type, galinfo[i].name) == 0) {
|
||||||
gal = galinfo[i].type;
|
gal = galinfo[i].type;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user