Default host_serial_path to empty string instead of NULL, fixes segmentation fault on initilization of serial passthrough with non-initialized string.

This commit is contained in:
OBattler
2025-02-12 03:20:12 +01:00
parent f679b46b65
commit d075d0d3c9

View File

@@ -260,7 +260,7 @@ static const device_config_t serial_passthrough_config[] = {
.name = "host_serial_path",
.description = "Host Serial Device",
.type = CONFIG_SERPORT,
.default_string = NULL,
.default_string = "",
.default_int = 0,
.file_filter = NULL,
.spinner = { 0 },