Subversion Repositories HomeAutomation

Rev

Rev 984 | Rev 986 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 984 Rev 985
Line 67... Line 67...
67
void CanDebug::run()
67
void CanDebug::run()
68
{
68
{
69
    SyslogStream &slog = SyslogStream::getInstance();
69
    SyslogStream &slog = SyslogStream::getInstance();
70
 
70
 
71
    string port = Settings::get("CanDebugPort");
71
    string port = Settings::get("CanDebugPort");
-
 
72
 
-
 
73
    if (port == "")
-
 
74
    {
-
 
75
        slog << "CanDebugPort is not defined in the config file, will not start debug interface\n";
-
 
76
        return;
-
 
77
    }
72
 
78
 
73
    try
79
    try
74
    {
80
    {
75
        mySocket.setPort(stoi(port));
81
        mySocket.setPort(stoi(port));
76
 
82