diff --git a/core/embed/trezorhal/optiga/optiga_commands.c b/core/embed/trezorhal/optiga/optiga_commands.c index 3884dd6a7..a77d79591 100644 --- a/core/embed/trezorhal/optiga/optiga_commands.c +++ b/core/embed/trezorhal/optiga/optiga_commands.c @@ -75,7 +75,7 @@ static optiga_result process_output(uint8_t **out_data, size_t *out_size) { *out_data = tx_buffer + 4; *out_size = tx_size - 4; - OPTIGA_LOG("SUCCESS ", *out_data, *out_size) + OPTIGA_LOG("SUCCESS", *out_data, *out_size) return OPTIGA_SUCCESS; } diff --git a/core/embed/trezorhal/optiga/optiga_transport.c b/core/embed/trezorhal/optiga/optiga_transport.c index 362d6821d..16f0ca017 100644 --- a/core/embed/trezorhal/optiga/optiga_transport.c +++ b/core/embed/trezorhal/optiga/optiga_transport.c @@ -184,7 +184,7 @@ optiga_result optiga_init(void) { } static optiga_result optiga_i2c_write(const uint8_t *data, uint16_t data_size) { - OPTIGA_LOG(">>> ", data, data_size) + OPTIGA_LOG(">>>", data, data_size) for (int try_count = 0; try_count <= I2C_MAX_RETRY_COUNT; ++try_count) { if (try_count != 0) { @@ -205,7 +205,7 @@ static optiga_result optiga_i2c_read(uint8_t *buffer, uint16_t buffer_size) { HAL_Delay(1); if (HAL_OK == i2c_receive(OPTIGA_I2C_INSTANCE, OPTIGA_ADDRESS, buffer, buffer_size, I2C_TIMEOUT)) { - OPTIGA_LOG("<<< ", buffer, buffer_size) + OPTIGA_LOG("<<<", buffer, buffer_size) return OPTIGA_SUCCESS; } } diff --git a/core/embed/trezorhal/optiga_transport.h b/core/embed/trezorhal/optiga_transport.h index fd34dd8d9..8e7b1e2ff 100644 --- a/core/embed/trezorhal/optiga_transport.h +++ b/core/embed/trezorhal/optiga_transport.h @@ -45,7 +45,7 @@ optiga_result optiga_soft_reset(void); optiga_result optiga_set_data_reg_len(size_t size); #if !PRODUCTION -void optiga_set_transport_log_hex(optiga_log_hex_t f); +void optiga_transport_set_log_hex(optiga_log_hex_t f); #endif #endif