Skip to content

Commit

Permalink
Small cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
philljj committed Apr 2, 2024
1 parent d086604 commit b72e77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hal/tpm_io_microchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@

do {
/* Queue the write with I2C_BB. */
//queued = I2C_BB_Write(i2cAddr, buf, len + 1);
queued = I2C_BB_Write(TPM2_I2C_ADDR, buf, len + 1);

if (!queued) {
Expand Down Expand Up @@ -252,7 +251,8 @@
/* Set callback to null to do time based polling of
* I2C_BB_IsBusy instead.
*
* Note: Apparently a callback is actually required.
* Note: Apparently a callback is actually required,
* even if not used.
* */
I2C_BB_Initialize();
I2C_BB_CallbackRegister(dummy_callback, dummy_context);
Expand Down

0 comments on commit b72e77a

Please sign in to comment.