Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Commit fb370fc

Browse files
Changed integer size 8 > 16
1 parent 462ef60 commit fb370fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

MicrocontrollerCode/include/JoystickFunctions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ struct RefSpeed {
1919
* Struct representing the reference displace
2020
*/
2121
struct RefDisplacement {
22-
int8_t longDisp; ///< Forward/Backward displacement with + indicating forward
23-
int8_t latDisp; ///< Side to side displacement with + indicating right
22+
int16_t longDisp; ///< Forward/Backward displacement with + indicating forward
23+
int16_t latDisp; ///< Side to side displacement with + indicating right
2424
};
2525

2626
/**

0 commit comments

Comments
 (0)