We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45bad7 commit 633a631Copy full SHA for 633a631
src/peripheral/dwt.rs
@@ -353,7 +353,7 @@ pub enum ComparatorFunction {
353
354
/// Possible error values returned on [Comparator::configure].
355
#[derive(Debug)]
356
-pub enum DWTError {
+pub enum DwtError {
357
/// Invalid combination of [AccessType] and [EmitOption].
358
InvalidFunction,
359
}
@@ -383,7 +383,7 @@ impl Comparator {
383
(AccessType::ReadWrite, EmitOption::PCData) => (0b0011, false),
384
385
(AccessType::ReadWrite, EmitOption::PC) => (0b0001, false),
386
- (_, EmitOption::PC) => return Err(DWTError::InvalidFunction),
+ (_, EmitOption::PC) => return Err(DwtError::InvalidFunction),
387
};
388
389
self.function.modify(|mut r| {
0 commit comments