mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
[internal_temperature] Shorten platform TAG strings (#18443)
This commit is contained in:
@@ -9,7 +9,7 @@ uint32_t temp_single_get_current_temperature(uint32_t *temp_value);
|
|||||||
|
|
||||||
namespace esphome::internal_temperature {
|
namespace esphome::internal_temperature {
|
||||||
|
|
||||||
static const char *const TAG = "internal_temperature.bk72xx";
|
static const char *const TAG = "internal_temperature";
|
||||||
|
|
||||||
void InternalTemperatureSensor::update() {
|
void InternalTemperatureSensor::update() {
|
||||||
float temperature = NAN;
|
float temperature = NAN;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ uint8_t temprature_sens_read();
|
|||||||
|
|
||||||
namespace esphome::internal_temperature {
|
namespace esphome::internal_temperature {
|
||||||
|
|
||||||
static const char *const TAG = "internal_temperature.esp32";
|
static const char *const TAG = "internal_temperature";
|
||||||
|
|
||||||
void InternalTemperatureSensor::update() {
|
void InternalTemperatureSensor::update() {
|
||||||
float temperature = NAN;
|
float temperature = NAN;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
namespace esphome::internal_temperature {
|
namespace esphome::internal_temperature {
|
||||||
|
|
||||||
static const char *const TAG = "internal_temperature.rp2";
|
static const char *const TAG = "internal_temperature";
|
||||||
|
|
||||||
// The on-die temperature sensor sits on the last ADC channel: input 4 on RP2040
|
// The on-die temperature sensor sits on the last ADC channel: input 4 on RP2040
|
||||||
// and RP2350A, but input 8 on RP2350B, which has eight external channels rather
|
// and RP2350A, but input 8 on RP2350B, which has eight external channels rather
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
namespace esphome::internal_temperature {
|
namespace esphome::internal_temperature {
|
||||||
|
|
||||||
static const char *const TAG = "internal_temperature.zephyr";
|
static const char *const TAG = "internal_temperature";
|
||||||
|
|
||||||
static const struct device *const DIE_TEMPERATURE_SENSOR = DEVICE_DT_GET_ONE(nordic_nrf_temp);
|
static const struct device *const DIE_TEMPERATURE_SENSOR = DEVICE_DT_GET_ONE(nordic_nrf_temp);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user