summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mts_io.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index b1889f0..30800d3 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -813,22 +813,22 @@ static int mts_id_eeprom_load(void)
log_info("capa-din: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_DIN) ? "yes" : "no");
log_info("capa-dout: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_DOUT) ? "yes" : "no");
log_info("capa-adc: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_ADC) ? "yes" : "no");
- log_info("capa-wifi: %s", DEVICE_CAPA(id_eeprom->capa, CAPA_WIFI) ? "yes" : "no");
- log_info("capa-bluetooth: %s", DEVICE_CAPA(id_eeprom->capa, CAPA_BLUETOOTH) ? "yes" : "no");
+ log_info("capa-wifi: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_WIFI) ? "yes" : "no");
+ log_info("capa-bluetooth: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_BLUETOOTH) ? "yes" : "no");
log_info("mac-bluetooth: %02X:%02X:%02X:%02X:%02X:%02X",
- id_eeprom->mac_bluetooth[0],
- id_eeprom->mac_bluetooth[1],
- id_eeprom->mac_bluetooth[2],
- id_eeprom->mac_bluetooth[3],
- id_eeprom->mac_bluetooth[4],
- id_eeprom->mac_bluetooth[5]);
+ id_eeprom.mac_bluetooth[0],
+ id_eeprom.mac_bluetooth[1],
+ id_eeprom.mac_bluetooth[2],
+ id_eeprom.mac_bluetooth[3],
+ id_eeprom.mac_bluetooth[4],
+ id_eeprom.mac_bluetooth[5]);
log_info("mac-wifi: %02X:%02X:%02X:%02X:%02X:%02X",
- id_eeprom->mac_wifi[0],
- id_eeprom->mac_wifi[1],
- id_eeprom->mac_wifi[2],
- id_eeprom->mac_wifi[3],
- id_eeprom->mac_wifi[4],
- id_eeprom->mac_wifi[5]);
+ id_eeprom.mac_wifi[0],
+ id_eeprom.mac_wifi[1],
+ id_eeprom.mac_wifi[2],
+ id_eeprom.mac_wifi[3],
+ id_eeprom.mac_wifi[4],
+ id_eeprom.mac_wifi[5]);
return 0;
}