From 0d1854c8d7db2ca6be588117d4639d29290f8669 Mon Sep 17 00:00:00 2001 From: n1i9c9k9 Date: Wed, 13 Dec 2023 17:12:02 +0100 Subject: [PATCH] suggestion for motion.h --- src/motion/Motion.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/motion/Motion.h b/src/motion/Motion.h index 16353d8..7199ef7 100644 --- a/src/motion/Motion.h +++ b/src/motion/Motion.h @@ -28,21 +28,19 @@ public: * @brief Move forward for a certain amount of time. * @param moveForMs Representing the duration of forward moving in milliseconds. */ - void move(u8int moveForMs); + void move(uint8_t moveForMs); /** * @brief Rotate left for a certain amount of time. * @param rotateForMs Representing the duration of rotating left in milliseconds. */ - void rotateLeft(u8int rotateForMs); + void rotateLeft(uint8_t rotateForMs); /** * @brief Rotate right for a certain amount of time. * @param rotateForMs Representing the duration of rotating right in milliseconds. */ - void rotateRight(u8int rotateForMs); + void rotateRight(uint8_t rotateForMs); }; -#endif //Motion_h - - +#endif //Motion_h \ No newline at end of file