2019-04-04 06:33:42 +02:00
|
|
|
//header file for main.c for gui
|
|
|
|
|
|
|
|
#ifndef QT_GUI_CALC_MAIN_H
|
|
|
|
#define QT_GUI_CALC_MAIN_H
|
|
|
|
|
|
|
|
|
2019-04-04 07:54:02 +02:00
|
|
|
#include <QSemaphore>
|
2019-04-04 06:33:42 +02:00
|
|
|
|
|
|
|
extern const char KEY_MAP[20];
|
|
|
|
|
|
|
|
extern int8_t NewKeyBuf[4];
|
|
|
|
|
2019-04-04 07:54:02 +02:00
|
|
|
extern QSemaphore KeysAvailable;
|
|
|
|
extern QSemaphore LcdAvailable;
|
2019-04-04 06:33:42 +02:00
|
|
|
|
|
|
|
extern volatile uint8_t new_key_write_i;
|
|
|
|
extern volatile uint8_t new_key_read_i;
|
|
|
|
extern volatile uint8_t NewKeyEmpty;
|
|
|
|
|
|
|
|
extern uint8_t ExitCalcMain;
|
|
|
|
|
|
|
|
int calc_main(void);
|
|
|
|
|
|
|
|
#endif //include guard
|