From a4bfb55fa0632b63de5b10142fe9f966b9e21ec6 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 17 Mar 2022 19:43:45 +0100 Subject: Remove xpadAppType_valid and handle Broadcast Website like MOT slideshow --- src/ConfigParser.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ConfigParser.cpp') diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index fd367ec..dbbc2fb 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -824,15 +824,14 @@ void parse_ptree( // This was previously hardcoded in FIG0/13 and means "MOT, start of X-PAD data group" ua.xpadAppType = 12; - ua.xpadAppType_valid = true; } else if (ua_value == "spi") { ua.uaType = FIG0_13_APPTYPE_SPI; ua.xpadAppType = 16; - ua.xpadAppType_valid = true; } else if (ua_value == "website") { ua.uaType = FIG0_13_APPTYPE_WEBSITE; + ua.xpadAppType = 12; } if (component->isPacketComponent(ensemble->subchannels)) { @@ -863,7 +862,6 @@ void parse_ptree( // This was previously hardcoded in FIG0/13 and means "MOT, start of X-PAD data group" ua.xpadAppType = 12; - ua.xpadAppType_valid = true; if (component->isPacketComponent(ensemble->subchannels)) { component->packet.uaTypes.push_back(ua); -- cgit v1.2.3