Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Commit

Permalink
k20::uart: Enable transmission/reception in set_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Oct 19, 2014
1 parent 81077fa commit c9a95ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zinc/hal/k20/uart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ impl UART {
uart::Forced1 => unsafe { abort() },
uart::Forced0 => unsafe { abort() },
};
(*self.reg).c2.set_te(true).set_re(true);
}

fn set_fifo_enabled(&self, enabled: bool) {
Expand Down

0 comments on commit c9a95ff

Please sign in to comment.