diff --git a/lua/frsky/RB25_S/RB25S_Calibration/main.lua b/lua/frsky/RB25_S/RB25S_Calibration/main.lua index d4c750c..898163e 100644 --- a/lua/frsky/RB25_S/RB25S_Calibration/main.lua +++ b/lua/frsky/RB25_S/RB25S_Calibration/main.lua @@ -41,7 +41,7 @@ local function create() local sensor = sport.getSensor({appIdStart=0xF10, appIdEnd=0xF1F}); - bitmap = lcd.loadBitmap("/scripts/RB25S_Calibration/cali_"..step..".png") + bitmap = lcd.loadBitmap("cali_"..step..".png") return {sensor=sensor} end @@ -92,11 +92,11 @@ local function wakeup(widget) if fieldId == 0x60 then if step == 5 then calibrationState = CALIBRATION_OK - bitmap = lcd.loadBitmap("/scripts/RB25S_Calibration/cali_ok.png") + bitmap = lcd.loadBitmap("cali_ok.png") else calibrationState = CALIBRATION_INIT step = (step + 1) % 6 - bitmap = lcd.loadBitmap("/scripts/RB25S_Calibration/cali_"..step..".png") + bitmap = lcd.loadBitmap("cali_"..step..".png") end lcd.invalidate() end diff --git a/lua/frsky/RB35_S/RB35S_Calibration/main.lua b/lua/frsky/RB35_S/RB35S_Calibration/main.lua index 936df62..737ea22 100644 --- a/lua/frsky/RB35_S/RB35S_Calibration/main.lua +++ b/lua/frsky/RB35_S/RB35S_Calibration/main.lua @@ -41,7 +41,7 @@ local function create() local sensor = sport.getSensor({appIdStart=0xF00, appIdEnd=0xF0F}); - bitmap = lcd.loadBitmap("/scripts/RB35S_Calibration/cali_"..step..".png") + bitmap = lcd.loadBitmap("cali_"..step..".png") return {sensor=sensor} end @@ -92,11 +92,11 @@ local function wakeup(widget) if fieldId == 0x60 then if step == 5 then calibrationState = CALIBRATION_OK - bitmap = lcd.loadBitmap("/scripts/RB35S_Calibration/cali_ok.png") + bitmap = lcd.loadBitmap("cali_ok.png") else calibrationState = CALIBRATION_INIT step = (step + 1) % 6 - bitmap = lcd.loadBitmap("/scripts/RB35S_Calibration/cali_"..step..".png") + bitmap = lcd.loadBitmap("cali_"..step..".png") end lcd.invalidate() end diff --git a/lua/frsky/SR6MiniE_Cali/main.lua b/lua/frsky/SR6MiniE_Cali/main.lua index e96579c..46b76a4 100644 --- a/lua/frsky/SR6MiniE_Cali/main.lua +++ b/lua/frsky/SR6MiniE_Cali/main.lua @@ -50,7 +50,7 @@ local function create() end end) - bitmap = lcd.loadBitmap("/scripts/SR6MiniE_Cali/cali_"..step..".png") + bitmap = lcd.loadBitmap("cali_"..step..".png") return {sensor=sensor} end @@ -97,11 +97,11 @@ local function wakeup(widget) if fieldId == 0x60 then if step == 5 then calibrationState = CALIBRATION_OK - bitmap = lcd.loadBitmap("/scripts/SR6MiniE_Cali/cali_ok.png") + bitmap = lcd.loadBitmap("cali_ok.png") else calibrationState = CALIBRATION_INIT step = (step + 1) % 6 - bitmap = lcd.loadBitmap("/scripts/SR6MiniE_Cali/cali_"..step..".png") + bitmap = lcd.loadBitmap("cali_"..step..".png") end lcd.invalidate() end