Remove test code

This commit is contained in:
Michal Moskal 2017-07-09 18:12:36 +01:00
parent c8f41737cb
commit eab5fcb210

View File

@ -361,16 +361,5 @@ namespace input {
}
}
function testPorts() {
let tstPin = control.mmap("/dev/lms_tst_pin", 0, 0)
let tstUart = control.mmap("/dev/lms_tst_uart", 0, 0)
let buf = output.createBuffer(0)
tstPin.ioctl(IO.TST_PIN_ON, buf)
tstUart.ioctl(IO.TST_UART_ON, buf)
loops.pause(30000)
tstUart.ioctl(IO.TST_UART_OFF, buf)
tstPin.ioctl(IO.TST_PIN_OFF, buf)
}
}