Skip to content

Commit

Permalink
Merge pull request esp8266#1666 from Links2004/master
Browse files Browse the repository at this point in the history
not keep freed pointer of uart handler
  • Loading branch information
Links2004 committed Feb 22, 2016
2 parents c7ff2b1 + 28e6f33 commit f28c5be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/esp8266/HardwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ void HardwareSerial::end()
}

uart_uninit(_uart);
_uart = NULL;
}

void HardwareSerial::swap(uint8_t tx_pin)
Expand Down

0 comments on commit f28c5be

Please sign in to comment.