Update main.cpp

This commit is contained in:
Ackimixs
2024-04-17 21:07:49 +02:00
committed by GitHub
parent f71a60fa95
commit 62eff7d49f

View File

@@ -31,6 +31,8 @@ int main(int argc, char *argv[]) {
std::string toSend = "G " + line + "\n";
std::cout << toSend << std::endl;
serial.writeBytes(toSend.c_str(), toSend.length());
serial.closeDevice();