Freedman v2
Fork of WizFi250Interface by
Diff: WizFi250/WizFi250_hal.cpp
- Revision:
- 6:e149bf87a1bd
- Parent:
- 5:8a0702aa91e3
- Child:
- 9:12ecb377f63f
diff -r 8a0702aa91e3 -r e149bf87a1bd WizFi250/WizFi250_hal.cpp --- a/WizFi250/WizFi250_hal.cpp Fri Nov 14 15:14:56 2014 +0900 +++ b/WizFi250/WizFi250_hal.cpp Fri Nov 14 15:22:27 2014 +0900 @@ -49,21 +49,12 @@ int WizFi250::getUart() { -#ifdef CFG_UART_DIRECT - return _uart->RBR; -#else return _wizfi.getc(); -#endif } void WizFi250::putUart (char c) { -#ifdef CFG_UART_DIRECT - while(!(_uart->LSR & (1<<5))); - _uart->THR = c; -#else _wizfi.putc(c); -#endif } void WizFi250::setRts (bool flg) @@ -151,10 +142,6 @@ _rts = NULL; _flow = 0; -#if defined(TARGET_FRDM_KL25Z) - _uart = UART1; -#endif - if(cts != NC) { _cts = new DigitalIn(cts);