Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WebSocket_WizFi250_HelloWorld IFTTT_WizFi250 AxedaGo-WizFi250 FANARM_AP_udp_server ... more
Diff: WizFi250/WizFi250_hal.cpp
- Revision:
- 6:e149bf87a1bd
- Parent:
- 5:8a0702aa91e3
- Child:
- 9:12ecb377f63f
--- 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);