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
+8
View File
@@ -0,0 +1,8 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT("inverter_poller")
set (CMAKE_CXX_FLAGS "-O2 --std=c++0x ${CMAKE_CXX_FLAGS}")
file(GLOB SOURCES *.cpp)
ADD_EXECUTABLE(inverter_poller ${SOURCES})
target_link_libraries(inverter_poller -lpthread)