Fix set_output_status -> set_output_mode

This commit is contained in:
Nathan
2018-11-06 20:20:51 -08:00
parent b8f78902b1
commit 6a37fe713e

View File

@@ -79,7 +79,7 @@ impl Gpio {
});
}
pub fn set_output_status(&mut self, is_high: bool) {
pub fn set_output_mode(&mut self, is_high: bool) {
self.periph.modify(|_r, w| {
w.output_mode.set_bit(is_high)
});