Replace accel with acc keyword

reviewable/pr11696/r1
mergen3107 2 weeks ago committed by GitHub
parent 87c85bf94d
commit b51861cbed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1429,7 +1429,7 @@ function KindleScribe:init()
end
end
-- Get accelerometer device
local std_out = io.popen("grep -A4 'accel' /proc/bus/input/devices | grep -o 'event[0-9]'", "r")
local std_out = io.popen("grep -A4 'acc' /proc/bus/input/devices | grep -o 'event[0-9]'", "r")
if std_out then
local gyro_dev = std_out:read("*line")
std_out:close()

Loading…
Cancel
Save