pull/7/head
Thorsten von Eicken 10 years ago
parent 32a7597977
commit feb688c9b2
  1. 1
      README.md
  2. 2
      user/console.c
  3. 2
      user/status.c

@ -31,6 +31,7 @@ ESP8266 flashing tool to flash the following:
- `boot_v1.3(b3).bin` to 0x00000 - `boot_v1.3(b3).bin` to 0x00000
- `blank.bin` to 0x7e000 - `blank.bin` to 0x7e000
- `user1.bin` to 0x01000 - `user1.bin` to 0x01000
Note that the firmware assumes a 512KB flash chip, which most of the esp-01 thru esp-11 Note that the firmware assumes a 512KB flash chip, which most of the esp-01 thru esp-11
modules appear to have. modules appear to have.

@ -41,7 +41,7 @@ tplConsole(HttpdConnData *connData, char *token, void **arg) {
if (token==NULL) return HTTPD_CGI_DONE; if (token==NULL) return HTTPD_CGI_DONE;
if (os_strcmp(token, "console") == 0) { if (os_strcmp(token, "console") == 0) {
if (console_wr > console_rd) { if (console_wr < console_rd) {
httpdSend(connData, console_buf+console_rd, console_wr-console_rd); httpdSend(connData, console_buf+console_rd, console_wr-console_rd);
} else if (console_rd != console_wr) { } else if (console_rd != console_wr) {
httpdSend(connData, console_buf+console_rd, BUF_MAX-console_rd); httpdSend(connData, console_buf+console_rd, BUF_MAX-console_rd);

@ -5,7 +5,7 @@
static ETSTimer ledTimer; static ETSTimer ledTimer;
void ICACHE_FLASH_ATTR setLed(int on) { static void ICACHE_FLASH_ATTR setLed(int on) {
// LED is active-low // LED is active-low
if (on) { if (on) {
gpio_output_set(0, (1<<LEDGPIO), (1<<LEDGPIO), 0); gpio_output_set(0, (1<<LEDGPIO), (1<<LEDGPIO), 0);

Loading…
Cancel
Save