Skip to content

Commit b72e77a

Browse files
committed
Small cleanup.
1 parent d086604 commit b72e77a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/tpm_io_microchip.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@
216216

217217
do {
218218
/* Queue the write with I2C_BB. */
219-
//queued = I2C_BB_Write(i2cAddr, buf, len + 1);
220219
queued = I2C_BB_Write(TPM2_I2C_ADDR, buf, len + 1);
221220

222221
if (!queued) {
@@ -252,7 +251,8 @@
252251
/* Set callback to null to do time based polling of
253252
* I2C_BB_IsBusy instead.
254253
*
255-
* Note: Apparently a callback is actually required.
254+
* Note: Apparently a callback is actually required,
255+
* even if not used.
256256
* */
257257
I2C_BB_Initialize();
258258
I2C_BB_CallbackRegister(dummy_callback, dummy_context);

0 commit comments

Comments
 (0)