Settings-Datei lesen fertig

This commit is contained in:
Bernhard
2026-01-20 20:11:36 +01:00
parent 874ebf51ba
commit 281e70d91e
6 changed files with 90 additions and 19 deletions

3
settings/settings.h Normal file → Executable file
View File

@@ -8,12 +8,13 @@
#include <string.h>
#define MAX_LINE_LENGTH 256
#define MAX_PATH 256
struct APP_SETTINGS
{
int iDebugLevel; // Level of debug messages
char sExePath[MAX_PATH]; // Path of the executable
int iCanSimu = 0; // Simulate CAN if 1
int iCanSimu; // Simulate CAN if 1
int iMotorCount; // Number of used motors (1 or 2)
int iMotorPwrMinRaw; // Minimum power value for motor (raw value)