annotate apis to support multiple forever blocks

This commit is contained in:
Peli de Halleux
2016-12-16 16:47:36 -08:00
parent 52e67c6bfc
commit a2755dc4d2
3 changed files with 4 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ namespace basic {
* Repeats the code forever in the background. On each iteration, allows other codes to run.
* @param body code to execute
*/
//% help=basic/forever weight=55 blockGap=8
//% help=basic/forever weight=55 blockGap=8 blockAllowMultiple=1
//% blockId=device_forever block="forever" icon="\uf01e"
void forever(Action a) {
if (a != 0) {