Fix if syntax error

Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
pull/1793/head
Ruixi Zhou 2025-04-10 22:30:12 +08:00
parent 9f42c00153
commit 80daa02c37
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ detect_sensor() {
fi
SENSOR=$(ipcinfo -s)
if [ "$BUILD" != "fpv" ]
if [ "$BUILD" != "fpv" ]; then
fw_setenv sensor "$SENSOR"
fi
}