1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00
This commit is contained in:
Ralf Ramsauer 2015-09-24 16:30:25 +02:00
parent 270943e388
commit 2234c58371

View File

@ -22,7 +22,7 @@ using boost::asio::ip::tcp;
const static std::string version = const static std::string version =
"doorlockd-" DOORLOCKD_VERSION; "doorlockd-" DOORLOCKD_VERSION;
const static std::string gitversion = const static std::string gitversion =
DOORLOCKD_GIT_BRANCH "-" DOORLOCKD_GIT_COMMIT_HASH; DOORLOCKD_GIT_BRANCH "-" DOORLOCKD_GIT_COMMIT_HASH;
// The receive buffer length of the TCP socket // The receive buffer length of the TCP socket
const int constexpr SOCKET_BUFFERLENGTH = 2048; const int constexpr SOCKET_BUFFERLENGTH = 2048;
@ -176,7 +176,6 @@ int main(int argc, char** argv)
("serial,i", ("serial,i",
po::value<std::string>(&serDev)->default_value(DEFAULT_SERIAL_DEVICE), po::value<std::string>(&serDev)->default_value(DEFAULT_SERIAL_DEVICE),
"Serial port") "Serial port")
("baud,r", ("baud,r",
po::value<unsigned int>(&baudrate)->default_value((DEFAULT_SERIAL_BAUDRATE)), po::value<unsigned int>(&baudrate)->default_value((DEFAULT_SERIAL_BAUDRATE)),
"Serial baudrate"); "Serial baudrate");