Merge pull request #4738 from sarusani/OptimzeEnum

Add type to enum
This commit is contained in:
Guðni Már Gilbert 2024-07-30 20:01:17 +00:00 committed by GitHub
commit 3f650a24aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ float BED_Y(const uint8_t row);
* Negative: failed
*/
enum BedSkewOffsetDetectionResultType {
enum BedSkewOffsetDetectionResultType : int8_t {
// Detection failed, some point was not found.
BED_SKEW_OFFSET_DETECTION_POINT_FOUND = 0, //!< Point found
BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND = -1, //!< Point not found.