IDF 5 fixes for various components from test1.yaml (#5451)

This commit is contained in:
Keith Burzinski
2023-10-18 01:33:36 -05:00
committed by GitHub
parent 8ef743f25e
commit cdc4f7f59b
82 changed files with 173 additions and 97 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ void STS3XComponent::setup() {
return;
}
uint32_t serial_number = (uint32_t(raw_serial_number[0]) << 16);
ESP_LOGV(TAG, " Serial Number: 0x%08X", serial_number);
ESP_LOGV(TAG, " Serial Number: 0x%08" PRIX32, serial_number);
}
void STS3XComponent::dump_config() {
ESP_LOGCONFIG(TAG, "STS3x:");
+2
View File
@@ -4,6 +4,8 @@
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/sensirion_common/i2c_sensirion.h"
#include <cinttypes>
namespace esphome {
namespace sts3x {