Stopping and Stopped notifications distinct
This commit is contained in:
@ -80,7 +80,7 @@ impl MotorDriverDebug {
|
||||
}
|
||||
pub async fn stop(&self) -> Result<()> {
|
||||
warn!("Stopping motor");
|
||||
self.dispatch.send(Dispatch_Commands::NotifyMotorStop).await?;
|
||||
self.dispatch.send(Dispatch_Commands::NotifyMotorStopping).await?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user