mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Use %u not %d for unsigned
This commit is contained in:
parent
e135948940
commit
1009f5b93e
1 changed files with 3 additions and 3 deletions
|
@ -129,14 +129,14 @@ void SX127x::dump_config() {
|
|||
LOG_PIN(" NSS Pin: ", this->nss_pin_);
|
||||
LOG_PIN(" RST Pin: ", this->rst_pin_);
|
||||
ESP_LOGCONFIG(TAG, " PA Pin: %s", this->pa_pin_ == PA_PIN_BOOST ? "BOOST" : "RFO");
|
||||
ESP_LOGCONFIG(TAG, " PA Power: %d dBm", this->pa_power_);
|
||||
ESP_LOGCONFIG(TAG, " PA Power: %u dBm", this->pa_power_);
|
||||
ESP_LOGCONFIG(TAG, " Frequency: %f MHz", (float) this->frequency_ / 1000000);
|
||||
ESP_LOGCONFIG(TAG, " Modulation: %s", this->modulation_ == MOD_FSK ? "FSK" : "OOK");
|
||||
ESP_LOGCONFIG(TAG, " Rx Bandwidth: %.1f kHz", (float) rx_bw / 1000);
|
||||
ESP_LOGCONFIG(TAG, " Rx Start: %s", this->rx_start_ ? "true" : "false");
|
||||
ESP_LOGCONFIG(TAG, " Rx Floor: %.1f dBm", this->rx_floor_);
|
||||
ESP_LOGCONFIG(TAG, " FSK Fdev: %d Hz", this->fsk_fdev_);
|
||||
ESP_LOGCONFIG(TAG, " FSK Ramp: %d us", RAMP_LUT[this->fsk_ramp_]);
|
||||
ESP_LOGCONFIG(TAG, " FSK Fdev: %u Hz", this->fsk_fdev_);
|
||||
ESP_LOGCONFIG(TAG, " FSK Ramp: %u us", RAMP_LUT[this->fsk_ramp_]);
|
||||
if (this->fsk_shaping_ == SHAPING_BT_1_0) {
|
||||
ESP_LOGCONFIG(TAG, " FSK Shaping: BT_1_0");
|
||||
} else if (this->fsk_shaping_ == SHAPING_BT_0_5) {
|
||||
|
|
Loading…
Reference in a new issue