ESP8266-based WiFi serial modem emulator ROM
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

PPP: use serial_write()

+6 -1
+6 -1
ppp.cpp
··· 62 62 ppp_output_cb(__attribute__((unused)) ppp_pcb *pcb, u8_t *data, u32_t len, 63 63 __attribute__((unused)) void *ctx) 64 64 { 65 - return Serial.write(data, len); 65 + u32_t i; 66 + 67 + for (i = 0; i < len; i++) 68 + serial_write(data[i]); 69 + 70 + return len; 66 71 } 67 72 68 73 void