Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed May 21, 2024
1 parent da319ad commit 81730f1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions components/tcs_intercom/tcs_intercom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ namespace esphome

LOG_TEXT_SENSOR(TAG, "Bus Command", this->bus_command_);

uint8_t mac;
char[16] macstr;
esp_efuse_mac_get_default(mac);

sprintf(macstr, "%08X ", mac);
ESP_LOGCONFIG(TAG, mac);
uint32_t secure_boot_enabled = 0;
esp_efuse_read_field_blob(ESP_EFUSE_SECURE_BOOT_EN, &secure_boot_enabled, 1);
ESP_LOGCONFIG("Secure Boot Enabled:");
ESP_LOGCONFIG(TAG, secure_boot_enabled ? "Yes" : "No");

/*har h[10];
for (int32_t block3Address = EFUSE_BLK3_RDATA0_REG, i = 0; block3Address <= EFUSE_BLK3_RDATA7_REG; block3Address += 4, ++i)
Expand Down

0 comments on commit 81730f1

Please sign in to comment.