fix serial LED; fixes #22

pull/30/head 0.10.3
Thorsten von Eicken 10 years ago
parent ca0b9958c0
commit 62e6839788
  1. 6
      html/log.html
  2. 3
      serial/serbridge.c

@ -5,13 +5,13 @@
<div class="content"> <div class="content">
<div class="pure-g"> <div class="pure-g">
<div class="pure-u-1-5"> <div class="pure-u-1-4">
<p style="padding-top: 0.4em;"> <p style="padding-top: 0.4em;">
<a id="refresh-button" class="pure-button button-primary" href="#">Refresh</a> <a id="refresh-button" class="pure-button button-primary" href="#">Refresh</a>
</p> </p>
</div> </div>
<p class="pure-u-4-5"> <p class="pure-u-3-4">
The debug log shows the 1024 last characters printed by the esp-link software itself to The debug log shows the most recent characters printed by the esp-link software itself to
its own debug log. its own debug log.
</p> </p>
</div> </div>

@ -81,8 +81,6 @@ static void ICACHE_FLASH_ATTR serbridgeSentCb(void *arg) {
//os_printf("%d ST\n", system_get_time()); //os_printf("%d ST\n", system_get_time());
conn->readytosend = true; conn->readytosend = true;
sendtxbuffer(conn); // send possible new data in txbuffer sendtxbuffer(conn); // send possible new data in txbuffer
serledFlash(50); // short blink on serial LED
} }
// Telnet protocol characters // Telnet protocol characters
@ -318,6 +316,7 @@ serbridgeUartCb(char *buf, int length) {
espbuffsend(&connData[i], buf, length); espbuffsend(&connData[i], buf, length);
} }
} }
serledFlash(50); // short blink on serial LED
} }
void ICACHE_FLASH_ATTR serbridgeInitPins() { void ICACHE_FLASH_ATTR serbridgeInitPins() {

Loading…
Cancel
Save