#ifndef PHFETSOS_MAIN_H_
#define PHFETSOS_MAIN_H_

#define USE_MAIN_MENU 1
#define USE_TEST_MENU 1
#define USE_CONFIGURATION_MENU 1

#include "system.h"
#include "microsd.h"

extern struct systemData sys_data;
extern struct systemSamplingData sys_samp;
extern struct sampData sampl;
extern struct qaData sys_qa;

extern unsigned char sBuf[ ];
extern unsigned char eBuf[ ];

extern FRESULT fRes;          // globs defd in main.c
extern FIL FileObject;

extern int calFileFlg;                  // defd in main.c, set in config.c, serial.c, used and cleared in ymodem.c

extern unsigned char apf_dbuf[];
extern unsigned char sBuf[];

void deploy_start(char askForNotes);
void exec_main_menu(void);


#endif // PHFETSOS_MAIN_H_
