Skip to content

Commit

Permalink
Refactor hal::i2c -> HAL_I2C
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvught committed Dec 2, 2024
1 parent 7cea808 commit 273fab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-pca9685/src/pca9685.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void PCA9685::AutoIncrement(bool bMode) {

void PCA9685::I2cSetup() {
FUNC_PREFIX(i2c_set_address(m_nAddress));
FUNC_PREFIX(i2c_set_baudrate(hal::i2c::FULL_SPEED));
FUNC_PREFIX(i2c_set_baudrate(HAL_I2C::FULL_SPEED));
}

void PCA9685::I2cWriteReg(uint8_t reg, uint8_t data) {
Expand Down

0 comments on commit 273fab4

Please sign in to comment.