pengfei wu
/
ESP8266Program
For test
Diff: ESP8266.cpp
- Revision:
- 4:962bf18523f4
- Parent:
- 1:44f2f0e5d685
diff -r 37d1de94c3b7 -r 962bf18523f4 ESP8266.cpp --- a/ESP8266.cpp Fri Jan 30 11:37:27 2015 +0000 +++ b/ESP8266.cpp Fri Jan 30 11:45:49 2015 +0000 @@ -3,8 +3,6 @@ static Serial uart(p28, p27); static ring_buffer rx_buffer = { { 0 }, 0, 0}; - - static void write_char(unsigned char c) { int i = (unsigned int)(rx_buffer.head + 1) % SERIAL_BUFFER_SIZE;