summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/lua/fiiox1.lua
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-01-24 15:22:43 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-01-24 15:22:43 +0100
commitf698b201adf18e0e046554d382531df1ae6d1d27 (patch)
tree5214b99c77553e20e2353baeabf82c87eef887ad /utils/hwstub/tools/lua/fiiox1.lua
parentcc2389b7a61784c229b42da4abbc238a42e5173d (diff)
hwstub/jz4760b: fix some typos in lua script after register name changes
Change-Id: Ie46ec293fcd5a16143818e77cd6c79cc08620fb5
Diffstat (limited to 'utils/hwstub/tools/lua/fiiox1.lua')
-rw-r--r--utils/hwstub/tools/lua/fiiox1.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/hwstub/tools/lua/fiiox1.lua b/utils/hwstub/tools/lua/fiiox1.lua
index c038f4077b..4453951c29 100644
--- a/utils/hwstub/tools/lua/fiiox1.lua
+++ b/utils/hwstub/tools/lua/fiiox1.lua
@@ -92,7 +92,7 @@ function FIIOX1.init_lcd()
-- setup Fiio X1 specific pins
FIIOX1.setup_fiio_lcd_pins()
-- reset lcd
- JZ.lcd_reset()
+ FIIOX1.lcd_reset()
end
-- call with nil to get automatic name
@@ -139,6 +139,7 @@ function FIIOX1.dump_spl(file)
end
function FIIOX1.init()
+ FIIOX1.hw_detect()
FIIOX1.init_backligt()
FIIOX1.test_backlight()
FIIOX1.init_lcd()