diff --git a/src/ldl_mac.c b/src/ldl_mac.c index ee733ec..bb50bdd 100644 --- a/src/ldl_mac.c +++ b/src/ldl_mac.c @@ -2144,7 +2144,7 @@ static void processCommands(struct ldl_mac *self, const uint8_t *in, uint8_t len } } - /* ignore rate setting 16 */ + /* ignore rate setting 15, because that means keep the current value */ if(req->dataRate < 0xfU){ // todo: need to pin out of range to maximum @@ -2158,7 +2158,7 @@ static void processCommands(struct ldl_mac *self, const uint8_t *in, uint8_t len } } - /* ignore power setting 16 */ + /* ignore power setting 15, because that means keep the current value */ if(req->txPower < 0xfU){ if(LDL_Region_validateTXPower(self->ctx.region, req->txPower)){