#define NUM_OF_PEOPLE 25 #define NUM_OF_DRINKS 10 #define DRINK_NAME_MAX_LENGTH 13 #define FILE_NAME_LEN 8 #define FILE_EXTENSION_LEN 3 #define FILE_EXTENSION "per" #define NAME_LEN 10 typedef struct{ /*Drink spevifier*/ char name[DRINK_NAME_MAX_LENGTH + 1]; /*Value in cents*/ int price; }Drink; typedef struct{ Drink drinks[NUM_OF_DRINKS]; int waiting; }Beerbox; //this shall always just exist in a short term! typedef struct{ char file_name[FILE_NAME_LEN + 1]; int drinks_taken[NUM_OF_DRINKS]; char name[NAME_LEN + 1]; char rfid_uuid[13]; uint8_t finger_uuid; uint8_t credits_left; }Person;