summaryrefslogtreecommitdiff
path: root/controllerfw.lua
diff options
context:
space:
mode:
Diffstat (limited to 'controllerfw.lua')
-rw-r--r--controllerfw.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/controllerfw.lua b/controllerfw.lua
index 2640af2..4ac888c 100644
--- a/controllerfw.lua
+++ b/controllerfw.lua
@@ -19,6 +19,10 @@ if not mem.drive.status then
}
end
+if mem.drive.state == "uninit" then
+ fault("driveuninit",true)
+end
+
local juststarted = false
local modenames = {
@@ -48,6 +52,7 @@ local doorstates = {
local faultnames = {
drivecomm = "Lost Communication With Drive",
+ driveuninit = "Drive Not Configured",
}
local function drivecmd(command)