Cosmetics in a comment

This commit is contained in:
Bertrand Songis
2020-06-02 10:40:58 +02:00
parent 837dffecdc
commit 13b81841c4
+1 -1
View File
@@ -228,7 +228,7 @@ void sportProcessTelemetryPacketWithoutCrc(uint8_t origin, const uint8_t * packe
data = 100 - SPORT_DATA_U8(packet);
}
else if (dataId == R9_PWR_ID) {
// receive 'dBm' and show by 'mw'
// convert 'dBm' to 'mW'
static const uint32_t r9pwrs[][2] = {{0, 1}, {5, 3}, {10, 10}, {13, 20}, {14, 25}, {20, 100}, {23, 200}, {27, 500}, {30, 1000}};
uint32_t dBm = SPORT_DATA_U8(packet);
for (auto & r9pwr : r9pwrs) {