Skip to content

Commit

Permalink
Fix TwoWire build when DEBUG_VERBOSE_LEVEL=DBG
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Oct 31, 2021
1 parent 028130f commit 1cee01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/Core/Wire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void TwoWire::pins(uint8_t sda, uint8_t scl)

void TwoWire::begin()
{
debug_d("[TWI] begin(%u, %u)", sda, scl);
debug_d("[TWI] begin(%u, %u)", twi_sda, twi_scl);
pinMode(twi_sda, INPUT_PULLUP);
pinMode(twi_scl, INPUT_PULLUP);
setClock(100000);
Expand Down

0 comments on commit 1cee01c

Please sign in to comment.