• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revisiond2c79808ef628e21dbe7eee2d2327b0dabe39243 (tree)
Zeit2022-06-22 08:19:06
AutorSatoshi Yasuda <7m3tjz;jarl.com>
CommiterSatoshi Yasuda

Log Message

modified: dstatus.h
modified: extern_packet.h

Ändern Zusammenfassung

Diff

--- a/dstatus.h
+++ b/dstatus.h
@@ -3,12 +3,21 @@
33
44 */
55
6+#include "os.inc"
7+
68 #define MON_PORT 21000
9+#ifdef _RASPI
710 #define CONFIG_FILE "/boot/rpi-GW/rpi-dstatus.conf"
811 #define LOG_FILE "/var/log/rpi-dstatus.log"
912 #define PID_FILE "/var/run/rpi-dstatus.pid"
10-//#define XCHANGE_CONF "/opt/dstar/conf/rpi-xchange.conf"
1113 #define DSGWD_CONF_FILE "/boot/rpi-GW/rpi-dsgwd.conf"
14+#else
15+#define CONFIG_FILE "/opt/dstar/conf/dstatus.conf"
16+#define LOG_FILE "/var/log/dstatus.log"
17+#define PID_FILE "/var/run/dstatus.pid"
18+#define DSGWD_CONF_FILE "/etc/dsgwd.conf"
19+#endif
20+
1221 #define HTTP_PORT 20204
1322
1423 #define CSS_FILE "/opt/dstar/web/dstar.css"
--- a/extern_packet.h
+++ b/extern_packet.h
@@ -1,3 +1,6 @@
1+#include "os.inc"
2+
3+#ifdef _RASPI
14 struct in4_addr
25 {
36 in_addr_t v4_address;
@@ -69,3 +72,6 @@ union
6972 } extern packet;
7073
7174 extern char STATUS_Frm_Save[64];
75+#else
76+#include "packet.h"
77+#endif