use new shadow to support time picker on pause (#1346)
This commit is contained in:
@ -98,6 +98,7 @@ namespace basic {
|
||||
//% help=basic/pause weight=54
|
||||
//% async block="pause (ms) %pause" blockGap=16
|
||||
//% blockId=device_pause icon="\uf110"
|
||||
//% pause.shadow=timePicker
|
||||
void pause(int ms) {
|
||||
fiber_sleep(ms);
|
||||
}
|
||||
|
Reference in New Issue
Block a user