We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d95939 commit 253c8fcCopy full SHA for 253c8fc
src/target/tx/devo/t8sg/target_defs.h
@@ -33,7 +33,7 @@
33
// will have this string. It is always located right after the jump table,
34
// And is 12 bytes long. Current valid values are:
35
// T8SGV1, T8SGV2, T8SGV2+, T8SGV3, T8SGV3+
36
-#define TXTYPE ((char *)0x08003008)
+#define TXTYPE ((char *)(0x08000000 + VECTOR_TABLE_LOCATION - 0x3000 + 0x400))
37
#define HAS_OLED_DISPLAY (TXTYPE[6] == '+')
38
#define LCD_CONTRAST_FUNC(x) (x)
39
#define HAS_LCD_FLIPPED 1
0 commit comments