weird magic from a while ago

This commit is contained in:
rusefi 2023-05-15 16:27:57 -04:00
parent 163cee4279
commit cc05d160ef
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@
#define REAL_GD_F1_REV_CODE 0x1303
#define REAL_SOMETHING_F1_ELSE 0x1000
#define REAL_SOMETHING_F1_REV_CODE 0x2003
#define ARM_REV_CODE() ((DBGMCU->IDCODE & DBGMCU_IDCODE_REV_ID_Msk) >> DBGMCU_IDCODE_REV_ID_Pos)