explictely set radio default power to 6 (#1286)

This commit is contained in:
Peli de Halleux
2018-09-24 10:16:03 -07:00
committed by GitHub
parent 465d83637f
commit eed66868a9
3 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,7 @@ namespace radio {
}
if (!radioEnabled) {
uBit.radio.setGroup(pxt::programHash());
uBit.radio.setTransmitPower(6); // start with high power by default
radioEnabled = true;
}
return r;