mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 10:38:27 +02:00
IDF 5 fixes for various components from test1.yaml (#5451)
This commit is contained in:
@@ -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:");
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include "esphome/components/sensor/sensor.h"
|
||||
#include "esphome/components/sensirion_common/i2c_sensirion.h"
|
||||
|
||||
#include <cinttypes>
|
||||
|
||||
namespace esphome {
|
||||
namespace sts3x {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user