refactor for better support with ch341 and other unreliable rs232 adapters

This commit is contained in:
David
2019-07-27 22:34:34 +10:00
parent c9ba895410
commit ccb999b8dc
28 changed files with 800 additions and 774 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef ___MAIN_H
#define ___MAIN_H
#include <atomic>
#include "inverter.h"
extern bool debugFlag;
extern atomic_bool ups_data_changed;
extern atomic_bool ups_status_changed;
extern atomic_bool ups_qpiws_changed;
extern atomic_bool ups_qmod_changed;
extern atomic_bool ups_qpiri_changed;
extern atomic_bool ups_qpigs_changed;
#endif // ___MAIN_H