1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

Fix asserts for Teensy

This commit is contained in:
Asbelos 2024-01-10 16:08:11 +00:00
parent 20ae915eaf
commit a508ee7055

View File

@ -50,8 +50,8 @@ const int16_t HASH_KEYWORD_SPEED28 = -17064;
const int16_t HASH_KEYWORD_SPEED128 = 25816;
*/
static_assert("MAIN"_hk == 11339);
static_assert("SLOW"_hk == -17209);
static_assert("SPEED28"_hk == -17064);
static_assert("SPEED128"_hk == 25816);
static_assert("MAIN"_hk == 11339,"Keyword hasher error");
static_assert("SLOW"_hk == -17209,"Keyword hasher error");
static_assert("SPEED28"_hk == -17064,"Keyword hasher error");
static_assert("SPEED128"_hk == 25816,"Keyword hasher error");
#endif