Rename 'lastEvent' to 'lastEventValue' to match microbit docs
This commit is contained in:
1 parent
d883bf1db3
commit
511dd423d0
1 file changed
+1
-1
+1
-1
@@ -71,7 +71,7 @@ namespace pxsim.control {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function eventValue() {
|
export function eventValue() {
|
||||||
return board().bus.getLastEvent()
|
return board().bus.getLastEventValue()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user