moving setgroup to main category (#362)

This commit is contained in:
Peli de Halleux 2017-03-01 14:57:47 -08:00 committed by GitHub
parent d4475645f4
commit 4252829a9e
2 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@ namespace radio {
* @ param id the group id between ``0`` and ``255``, 1 eg * @ param id the group id between ``0`` and ``255``, 1 eg
*/ */
//% help=radio/set-group //% help=radio/set-group
//% weight=10 blockGap=8 advanced=true //% weight=10 blockGap=8
//% blockId=radio_set_group block="radio set group %ID" //% blockId=radio_set_group block="radio set group %ID"
void setGroup(int id) { void setGroup(int id) {
if (radioEnable() != MICROBIT_OK) return; if (radioEnable() != MICROBIT_OK) return;

View File

@ -98,7 +98,7 @@ declare namespace radio {
* @ param id the group id between ``0`` and ``255``, 1 eg * @ param id the group id between ``0`` and ``255``, 1 eg
*/ */
//% help=radio/set-group //% help=radio/set-group
//% weight=10 blockGap=8 advanced=true //% weight=10 blockGap=8
//% blockId=radio_set_group block="radio set group %ID" shim=radio::setGroup //% blockId=radio_set_group block="radio set group %ID" shim=radio::setGroup
function setGroup(id: number): void; function setGroup(id: number): void;