moved maxID to beerbox struct and update in readPerson
moved drinksMax to beerbox struct and refactored to maxDrink added if(debug) to all serial write and serial print statements Moved BLE com to seperat file and added command and subcommandparsing Added filename JSON method
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#define NUM_OF_PEOPLE 25
|
||||
#define NUM_OF_PEOPLE 25 // This is (thank myself) not used
|
||||
#define NUM_OF_DRINKS 10
|
||||
#define DRINK_NAME_MAX_LENGTH 13
|
||||
#define FILE_NAME_LEN 8
|
||||
@@ -31,6 +31,8 @@ typedef struct{
|
||||
typedef struct{
|
||||
Drink drinks[NUM_OF_DRINKS];
|
||||
int waiting;
|
||||
int maxDrink=0;
|
||||
int maxID=0;
|
||||
}Beerbox;
|
||||
|
||||
//this shall always just exist in a short term!
|
||||
|
Reference in New Issue
Block a user