fixing raiseEvent
This commit is contained in:
parent
4e9d3aa413
commit
88e21db35e
@ -9,7 +9,7 @@ namespace control {
|
|||||||
* @param mode optional definition of how the event should be processed after construction.
|
* @param mode optional definition of how the event should be processed after construction.
|
||||||
*/
|
*/
|
||||||
//% weight=21 blockGap=12 blockId="control_raise_event"
|
//% weight=21 blockGap=12 blockId="control_raise_event"
|
||||||
//% block="raise event|from %src|with value value" blockExternalInputs=1
|
//% block="raise event|from %src|with value %value" blockExternalInputs=1
|
||||||
void raiseEvent(int src, int value) {
|
void raiseEvent(int src, int value) {
|
||||||
pxt::raiseEvent(src, value);
|
pxt::raiseEvent(src, value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user