[fix, cervantes] Old Cervantes devices should return false for hasNaturalLights (#4320)

pull/4321/head
frio 6 years ago committed by Frans de Jonge
parent 5d6807620f
commit 4ae43aee2c

@ -3,6 +3,7 @@ local TimeVal = require("ui/timeval")
local logger = require("logger")
local function yes() return true end
local function no() return false end
local function getProductId()
local ntxinfo_pcb = io.popen("/usr/bin/ntxinfo /dev/mmcblk0 | grep pcb | cut -d ':' -f2", "r")
@ -21,6 +22,7 @@ local Cervantes = Generic:new{
touch_switch_xy = true,
touch_mirrored_x = true,
touch_probe_ev_epoch_time = true,
hasNaturalLight = no,
hasOTAUpdates = yes,
hasKeys = yes,
internal_storage_mount_point = "/mnt/public/",

Loading…
Cancel
Save