• R/O
  • SSH
  • HTTPS

beego: 提交


Commit MetaInfo

修订版380 (tree)
时间2010-05-16 20:35:05
作者satofumi

Log Message

shellViewer が動作するように調整

更改概述

差异

--- connection/SerialCtrl_lin.cpp (revision 379)
+++ connection/SerialCtrl_lin.cpp (revision 380)
@@ -15,6 +15,7 @@
1515 #include <termios.h>
1616 #include <fcntl.h>
1717 #include <errno.h>
18+#include <cstring>
1819
1920 using namespace beego;
2021
--- connection/ConnectionDeviceSearch.h (revision 379)
+++ connection/ConnectionDeviceSearch.h (revision 380)
@@ -1,6 +1,9 @@
11 #ifndef CONNECTION_DEVICE_SEARCH_H
22 #define CONNECTION_DEVICE_SEARCH_H
33
4+#include <string>
5+
6+
47 /*!
58 \page connection_device_search_page シリアル ID 指定のデバイス探索
69
--- tools/miniterm/miniterm.cpp (revision 379)
+++ tools/miniterm/miniterm.cpp (revision 380)
@@ -20,7 +20,8 @@
2020 using namespace beego;
2121
2222
23-static const char* DefaultDevice = "/dev/usb/ttyUSB0";
23+//static const char* DefaultDevice = "/dev/usb/ttyUSB0";
24+static const char* DefaultDevice = "/dev/ttyACM0";
2425 static const long DefaultBaudrate = 115200;
2526 static const char* LogFileName = "miniterm_log.txt";
2627
--- senario/UkagakaShellHandler.h (revision 379)
+++ senario/UkagakaShellHandler.h (revision 380)
@@ -19,7 +19,8 @@
1919 /*!
2020 \brief 「伺か」のサーフェス管理
2121 */
22- class UkagakaShellHandler {
22+ class UkagakaShellHandler
23+ {
2324 UkagakaShellHandler(const UkagakaShellHandler& rhs);
2425 UkagakaShellHandler& operator = (const UkagakaShellHandler& rhs);
2526
--- common/StandardInput_lin.cpp (revision 379)
+++ common/StandardInput_lin.cpp (revision 380)
@@ -9,6 +9,7 @@
99
1010 #include "StandardInput.h"
1111 #include <sys/poll.h>
12+#include <unistd.h>
1213
1314 using namespace beego;
1415
--- common/CreateDirectory.cpp (revision 379)
+++ common/CreateDirectory.cpp (revision 380)
@@ -45,4 +45,6 @@
4545 if (! createDirectory(next_create.c_str())) {
4646 return false;
4747 }
48+
49+ return true;
4850 }
Show on old repository browser