TODO for later

This commit is contained in:
Lokathor 2018-12-24 16:05:11 -07:00
parent 1dcecb72cb
commit 6a07f95973

View file

@ -90,7 +90,7 @@ impl DMAControlSetting {
0 => DMASrcAddressControl::Increment, 0 => DMASrcAddressControl::Increment,
1 => DMASrcAddressControl::Decrement, 1 => DMASrcAddressControl::Decrement,
2 => DMASrcAddressControl::Fixed, 2 => DMASrcAddressControl::Fixed,
_ => unreachable!(), _ => unreachable!(), // TODO: custom error message?
} }
} }
pub const fn with_src_address_control(self, new_control: DMASrcAddressControl) -> Self { pub const fn with_src_address_control(self, new_control: DMASrcAddressControl) -> Self {