kopia lustrzana https://github.com/cyoung/stratux
rodzic
14a21eaa0b
commit
2d55aaeab3
|
@ -55,7 +55,7 @@ type Dump1090TermMessage struct {
|
||||||
func (e *ES) read() {
|
func (e *ES) read() {
|
||||||
defer e.wg.Done()
|
defer e.wg.Done()
|
||||||
log.Println("Entered ES read() ...")
|
log.Println("Entered ES read() ...")
|
||||||
cmd := exec.Command("/usr/bin/dump1090", "--oversample", "--net", "--device-index", strconv.Itoa(e.indexID), "--ppm", strconv.Itoa(e.ppm))
|
cmd := exec.Command("/usr/bin/dump1090", "--modeac", "--net", "--device-index", strconv.Itoa(e.indexID), "--ppm", strconv.Itoa(e.ppm))
|
||||||
stdout, _ := cmd.StdoutPipe()
|
stdout, _ := cmd.StdoutPipe()
|
||||||
stderr, _ := cmd.StderrPipe()
|
stderr, _ := cmd.StderrPipe()
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue