Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Classes/Deplacement.cpp
- Revision:
- 34:cea05fa02f37
- Parent:
- 27:e103da412e2b
- Child:
- 36:0a6cb92024c7
--- a/Classes/Deplacement.cpp Fri Jun 07 11:42:29 2019 +0000
+++ b/Classes/Deplacement.cpp Fri Jun 07 14:20:02 2019 +0000
@@ -42,11 +42,11 @@
return this->peutBouger;
}
-bool Deplacement::GoToXYT(unsigned short x, unsigned short y, unsigned short t, signed char sens) //sens = 0 par défaut
+bool Deplacement::GoToXYT(unsigned short x, unsigned short y, signed short t, signed char sens) //sens = 0 par défaut
{
if(this->peutBouger)
{
- GoToPosition(x,y,t,sens);
+ GoToPosition(y,x,t,sens);
this->peutBouger = false;
}
else