Stopping and Stopped notifications distinct

This commit is contained in:
2024-08-24 10:12:23 -04:00
parent 7c2d3df16b
commit 70947d5fa7
5 changed files with 20 additions and 11 deletions

View File

@ -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(())
}
}