@ -10,7 +10,7 @@
ssh-copy-id iflytop@板子IP
编译:
./build.sh
./sh/build.sh
部署:
./sh/deploy.sh username ip
@ -21,7 +21,13 @@ using namespace iflytop;
int main(int argc, char const* argv[]) {
Uart uart;
uart.open(UART_NAME, "115200");
int ret = uart.open(UART_NAME, "115200");
if (ret != 0) {
perror("open uart error");
exit(1);
}
thread th([&]() {
//
@ -21,7 +21,12 @@ using namespace iflytop;