From 9118c1d86a9f29885da45aa83949ddfd3cbd495b Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 28 Feb 2024 08:52:25 +0100 Subject: [PATCH] Remove HAPDMA adaptation, since it's fixed on the ADAS side --- ipmd/templates/ipmd/saddlegallmidgeform.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ipmd/templates/ipmd/saddlegallmidgeform.html b/ipmd/templates/ipmd/saddlegallmidgeform.html index ad0cf420..077d49f2 100644 --- a/ipmd/templates/ipmd/saddlegallmidgeform.html +++ b/ipmd/templates/ipmd/saddlegallmidgeform.html @@ -524,11 +524,6 @@ } if(weatherData != null) { - // HAPDMA only accepts average temp (code 1002), so we need to change the temp code if it's 1001 - if(!weatherData.weatherParameters.includes(1002) && weatherData.weatherParameters.includes(1001)) - { - weatherData.weatherParameters[weatherData.weatherParameters.indexOf(1001)] = 1002; - } inputData["weatherData"] = weatherData; } else -- GitLab