File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ macro_rules! define_error {
85
85
pub enum ResultCode {
86
86
/// The operation was successful. No additional information is available.
87
87
Success = 0 ,
88
+ /// The operation is not supported.
89
+ NotSupported = -9 ,
88
90
/// A parameter is invalid in a way that is no covered by any other error
89
91
/// codes.
90
92
BadParam = -17 ,
@@ -343,6 +345,8 @@ define_error! {
343
345
/// [`InterruptLine::enable`]: super::InterruptLine::enable
344
346
/// [`InterruptLine::disable`]: super::InterruptLine::disable
345
347
pub enum EnableInterruptLineError : BadParamError {
348
+ /// The operation is not supported by the port.
349
+ NotSupported ,
346
350
/// Enabling or disabling the specifeid interrupt line is not supported.
347
351
BadParam ,
348
352
}
You can’t perform that action at this time.
0 commit comments