Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Don't enable TX-INTERRUPT on ESP32-S2 #10

Merged
merged 2 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esp-println"
version = "0.2.1"
version = "0.2.2"
authors = [
"Björn Quentin <[email protected]>",
"Jesse Braham <[email protected]>",
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ impl core::fmt::Write for Printer {
#[cfg(feature = "esp32s2")]
fn write_str(&mut self, s: &str) -> core::fmt::Result {
// On ESP32-S2 the UART_TX_ONE_CHAR ROM-function seems to have some issues.
unsafe {
// enable TX_DONE interrupt
(0x3f40000c as *mut u32).write_volatile(1 << 14);
}
for chunk in s.as_bytes().chunks(64) {
for &b in chunk {
unsafe {
Expand Down