mirror of
https://github.com/XeonSquared/OC-Copper.git
synced 2024-11-15 06:18:05 +11:00
Fix stupid mistake when updating rsctl.
This commit is contained in:
parent
bb8671c202
commit
e582a8e7ce
@ -3,8 +3,9 @@
|
|||||||
%-- EXAMPLE IoT Redstone Top Controller --
|
%-- EXAMPLE IoT Redstone Top Controller --
|
||||||
|
|
||||||
UR=CG("redstone")
|
UR=CG("redstone")
|
||||||
|
UM={["true"]=0,["false"]=15}
|
||||||
function UT(p)
|
function UT(p)
|
||||||
if ({["true"]=0,["false"]=15})[p]then
|
if UM[p]then
|
||||||
US=p
|
US=p
|
||||||
UR.setOutput(1,UM[p])
|
UR.setOutput(1,UM[p])
|
||||||
end
|
end
|
||||||
|
@ -53,7 +53,7 @@ TS(t,g..S.char(a,1)..d)x=RP(j,R4)end
|
|||||||
RN[t..g]=x
|
RN[t..g]=x
|
||||||
end j()end
|
end j()end
|
||||||
-- EXAMPLE IoT Redstone Top Controller --
|
-- EXAMPLE IoT Redstone Top Controller --
|
||||||
UR=CG("redstone")function UT(p)if ({["true"]=0,["false"]=15})[p]then
|
UR=CG("redstone")UM={["true"]=0,["false"]=15}function UT(p)if UM[p]then
|
||||||
US=p
|
US=p
|
||||||
UR.setOutput(1,UM[p])end
|
UR.setOutput(1,UM[p])end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user