Radar power ternary statement

This commit is contained in:
Dan
2019-11-30 21:44:38 +00:00
parent 8d9ff824f4
commit ffe1e8e058

View File

@@ -266,11 +266,7 @@ function poweredUp()
function radarPower( state ) function radarPower( state )
{ {
if ( state ) { state ? poweringUp() : clearEverything();
poweringUp()
} else {
clearEverything();
}
} }
// This function is used to send data back through to the LUA side // This function is used to send data back through to the LUA side