Skip to content

Commit

Permalink
Wi-fi escape fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIOB committed Apr 18, 2018
1 parent d5065ad commit 9484291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/esp/lua-source/uart_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ local handshake_timer_period_ms = 10000

local escape = {}
-- 13 -> 10 11
escape[uart_delim_num] = string.char(uart_escape_num, 11)
escape[string.char(uart_delim_num)] = string.char(uart_escape_num, 11)
-- 10 -> 10 10
escape[uart_escape_num] = string.char(uart_escape_num, uart_escape_num)
escape[string.char(uart_escape_num)] = string.char(uart_escape_num, uart_escape_num)

function table_invert(t)
local s={}
Expand Down

0 comments on commit 9484291

Please sign in to comment.