respect max length of machine_name

This commit is contained in:
feelfree69
2026-02-12 19:30:50 +01:00
parent b4e7865bb7
commit 1e7e1f42cc
+1 -1
View File
@@ -217,7 +217,7 @@ void machine_custom_init(void) { }
#elif defined MACHINE_SWTGW218AS #elif defined MACHINE_SWTGW218AS
__code const struct machine machine = { __code const struct machine machine = {
.machine_name = "SWTGW218AS 8+1 SFP Port Managed Switch", .machine_name = "SWTGW218AS 8+1 Managed Switch",
.isRTL8373 = 1, .isRTL8373 = 1,
.min_port = 0, .min_port = 0,
.max_port = 8, .max_port = 8,