Made motor driver independent task

This commit is contained in:
2024-08-24 00:35:12 -04:00
parent cc72a23176
commit 3cf3dc5936
4 changed files with 90 additions and 39 deletions

View File

@ -23,6 +23,10 @@ pub enum Commands {
ButtonTimerExpired,
ButtonTimerRestart,
ButtonTimerClear,
NotifyMotorUp,
NotifyMotorDown,
NotifyMotorStop,
}
pub type CmdType = std::mem::Discriminant<Commands>;