We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c6d5b commit ba4b48eCopy full SHA for ba4b48e
src/SparkFun_Qwiic_Buzzer_Arduino_Library.h
@@ -35,7 +35,7 @@ class QwiicBuzzer : public sfeQwiicBuzzer
35
/// @param address I2C device address to use for the sensor
36
/// @param wirePort Wire port to use for I2C communication
37
/// @return True if successful, false otherwise
38
- bool begin(uint8_t address = SFE_QWIIC_BUZZER_DEFAULT_ADDRESS, TwoWire &wirePort = Wire)
+ bool begin(const uint8_t address = SFE_QWIIC_BUZZER_DEFAULT_ADDRESS, TwoWire &wirePort = Wire)
39
{
40
// Setup Arudino I2C bus
41
_theI2CBus.init(wirePort, address);
0 commit comments