Skip to content

Commit

Permalink
fix serbridge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tve committed Sep 12, 2015
1 parent 8d13739 commit 2a8f758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serial/serbridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ sint8 ICACHE_FLASH_ATTR espbuffsend(serbridgeConnData *conn, const char *data, u
// add to send buffer
uint16_t avail = conn->txbufferlen+len > MAX_TXBUFFER ? MAX_TXBUFFER-conn->txbufferlen : len;
os_memcpy(conn->txbuffer + conn->txbufferlen, data, avail);
conn->txbufferlen += len;
conn->txbufferlen += avail;

// try to send
sint8 result = ESPCONN_OK;
Expand Down

0 comments on commit 2a8f758

Please sign in to comment.