diff --git a/machine.c b/machine.c index d914640..2cadedc 100644 --- a/machine.c +++ b/machine.c @@ -896,9 +896,9 @@ void machine_custom_init(void) reg_bit_clear(RTL837X_REG_LED_MODE, 7); } -#elif defined MACHINE_PCB_SWTG024AS_V2_0 +#elif defined MACHINE_SWTG024AS_V2_0 __code const struct machine machine = { - .machine_name = "PCB-SWTG024AS-V2.0", + .machine_name = "SWTG024AS-V2.0", .isRTL8373 = 0, .min_port = 3, .max_port = 8, diff --git a/machine.h b/machine.h index b66bf8c..3a2115c 100644 --- a/machine.h +++ b/machine.h @@ -28,7 +28,7 @@ // #define MACHINE_HI_K0801WS // #define MACHINE_FNS1200P // #define MACHINE_PCB_SWTG024AS_A_2_0_1 -// #define MACHINE_PCB_SWTG024AS_V2_0 +// #define MACHINE_SWTG024AS_V2_0 typedef struct { // GPIO pins for SDA/SCL