Skip to content

Commit

Permalink
Minor fix to read back the right amout of I2C data from the interface…
Browse files Browse the repository at this point in the history
… mcu. (#159)

A bit inconsequential as the data read back is not being used, but
the interface firmware is meant to send back the same number of bytes
that was written to it.
  • Loading branch information
microbit-carlos committed Jun 8, 2022
1 parent 69a74e8 commit f974d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MicroBitUSBFlashManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ int MicroBitUSBFlashManager::setConfiguration(MicroBitUSBFlashConfig config, boo

// Write out each of the parameters in turn.
transact(fname, 12);
transact(fsize, 2);
transact(fsize, 5);
transact(fvisible, 2);

if (persist)
Expand Down

0 comments on commit f974d92

Please sign in to comment.