Skip to content

Commit ba4b48e

Browse files
committed
cost argument in begin
1 parent 43c6d5b commit ba4b48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Qwiic_Buzzer_Arduino_Library.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class QwiicBuzzer : public sfeQwiicBuzzer
3535
/// @param address I2C device address to use for the sensor
3636
/// @param wirePort Wire port to use for I2C communication
3737
/// @return True if successful, false otherwise
38-
bool begin(uint8_t address = SFE_QWIIC_BUZZER_DEFAULT_ADDRESS, TwoWire &wirePort = Wire)
38+
bool begin(const uint8_t address = SFE_QWIIC_BUZZER_DEFAULT_ADDRESS, TwoWire &wirePort = Wire)
3939
{
4040
// Setup Arudino I2C bus
4141
_theI2CBus.init(wirePort, address);

0 commit comments

Comments
 (0)