fixing raiseEvent

This commit is contained in:
Peli de Halleux 2017-08-07 12:07:43 -07:00
parent 4e9d3aa413
commit 88e21db35e

View File

@ -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);
} }