mirror of
https://github.com/esphome/esphome.git
synced 2025-10-03 10:32:21 +01:00
@@ -1,6 +1,8 @@
|
||||
#include "wl_134.h"
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
#include <cinttypes>
|
||||
|
||||
namespace esphome {
|
||||
namespace wl_134 {
|
||||
|
||||
@@ -71,7 +73,7 @@ Wl134Component::Rfid134Error Wl134Component::read_packet_() {
|
||||
ESP_LOGV(TAG, "isData: %s", reading.isData ? "true" : "false");
|
||||
ESP_LOGV(TAG, "isAnimal: %s", reading.isAnimal ? "true" : "false");
|
||||
ESP_LOGV(TAG, "Reserved0: %d", reading.reserved0);
|
||||
ESP_LOGV(TAG, "Reserved1: %d", reading.reserved1);
|
||||
ESP_LOGV(TAG, "Reserved1: %" PRId32, reading.reserved1);
|
||||
|
||||
char buf[20];
|
||||
sprintf(buf, "%03d%012lld", reading.country, reading.id);
|
||||
|
Reference in New Issue
Block a user