Technical debt: ENUM_32_BITS #3874

This commit is contained in:
rusefillc 2022-02-01 16:41:23 -05:00
parent 736c7f33d9
commit 5b63faafa0
2 changed files with 2 additions and 1 deletions

View File

@ -242,7 +242,7 @@ typedef enum {
TEST_108 = 108,
TEST_109 = 109,
TEST_110 = 110,
// todo: Technical debt: ENUM_32_BITS #3874
Force_4_bytes_size_engine_type = ENUM_32_BITS,
} engine_type_e;

View File

@ -88,6 +88,7 @@ struct_no_prefix engine_configuration_s
! Back in the day we wanted enums to be 32 bit integers.
! as of 2020 preference is with ' __attribute__ ((__packed__))' allowing one-byte enums
! todo: Technical debt: ENUM_32_BITS #3874
#define ENUM_16_BITS 60000
#define ENUM_32_BITS 2000000000