From eab5fcb2108596932fac273757ed089857b5a526 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Sun, 9 Jul 2017 18:12:36 +0100 Subject: [PATCH] Remove test code --- libs/core/analog.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libs/core/analog.ts b/libs/core/analog.ts index 4ba0d701..e65194e9 100644 --- a/libs/core/analog.ts +++ b/libs/core/analog.ts @@ -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) - } - } \ No newline at end of file