kopia lustrzana https://github.com/weetmuts/wmbusmeters
Temporarily disable early exit of serial shell.
rodzic
6fc79697c3
commit
7aae7aa6c2
|
@ -195,10 +195,12 @@ void startUsingCommandline(Configuration *config)
|
|||
command = prefix+"rtl_sdr -f "+freq+" -s 16000000 - 2>/dev/null | "+prefix+"rtl_wmbus";
|
||||
}
|
||||
verbose("(rtlwmbus) using command: %s\n", command.c_str());
|
||||
onChild([command,&manager](){
|
||||
/* This will have to wait until I can differentiate between
|
||||
shell childs that did mqtt/curl exits and the serial shell exit.
|
||||
onChild([command,&manager](){
|
||||
warning("(rtlwmbus) child process exited! Command was: \"%s\"\n", command.c_str());
|
||||
manager.get()->stop();
|
||||
});
|
||||
});*/
|
||||
|
||||
wmbus = openRTLWMBUS(command, manager.get());
|
||||
break;
|
||||
|
|
Ładowanie…
Reference in New Issue