git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Client - Broke the client out into separate files
[tpg/opendispense2.git]
/
src
/
server
/
main.c
diff --git
a/src/server/main.c
b/src/server/main.c
index
f2f66c3
..
20520fc
100644
(file)
--- a/
src/server/main.c
+++ b/
src/server/main.c
@@
-123,7
+123,7
@@
int main(int argc, char *argv[])
giServer_Port = Config_GetValue_Int("server_port", 0);
gsItemListFile = Config_GetValue("items_file", 0);
giServer_Port = Config_GetValue_Int("server_port", 0);
gsItemListFile = Config_GetValue("items_file", 0);
- gbNoCostMode =
Config_GetValue_Bool("test_mode", 0
);
+ gbNoCostMode =
(Config_GetValue_Bool("test_mode", 0) == 1
);
signal(SIGINT, sigint_handler);
signal(SIGTERM, sigint_handler);
signal(SIGINT, sigint_handler);
signal(SIGTERM, sigint_handler);
@@
-226,6
+226,7
@@
int InitSerial(const char *File, int BaudRate)
{
case 1200: baud = B1200; break;
case 9600: baud = B9600; break;
{
case 1200: baud = B1200; break;
case 9600: baud = B9600; break;
+ case 115200: baud = B115200; break;
default: close(fd); return -1;
}
default: close(fd); return -1;
}
UCC
git Repository :: git.ucc.asn.au