Compare commits
No commits in common. "d315c10fb0347e4454ada42bc48b5a29a7b1f069" and "eb732b5ba0d1ba82e1e6b2c04ac6d89a3ab7aff2" have entirely different histories.
d315c10fb0
...
eb732b5ba0
@ -677,7 +677,7 @@ void kiss_indicate_implicit_length() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void kiss_indicate_txpower(RadioInterface* radio) {
|
void kiss_indicate_txpower(RadioInterface* radio) {
|
||||||
int8_t txp = radio->getTxPower();
|
uint8_t txp = radio->getTxPower();
|
||||||
serial_write(FEND);
|
serial_write(FEND);
|
||||||
serial_write(CMD_TXPOWER);
|
serial_write(CMD_TXPOWER);
|
||||||
serial_write(txp);
|
serial_write(txp);
|
||||||
|
@ -708,7 +708,7 @@ void serialCallback(uint8_t sbyte) {
|
|||||||
if (sbyte == 0xFF) {
|
if (sbyte == 0xFF) {
|
||||||
kiss_indicate_txpower(selected_radio);
|
kiss_indicate_txpower(selected_radio);
|
||||||
} else {
|
} else {
|
||||||
int8_t txp = (int8_t)sbyte;
|
int txp = sbyte;
|
||||||
|
|
||||||
if (op_mode == MODE_HOST) setTXPower(selected_radio, txp);
|
if (op_mode == MODE_HOST) setTXPower(selected_radio, txp);
|
||||||
kiss_indicate_txpower(selected_radio);
|
kiss_indicate_txpower(selected_radio);
|
||||||
|
Loading…
Reference in New Issue
Block a user