Skip to content

Commit 69a5890

Browse files
committed
fix(libraries/Wire): fix return type
1 parent 07154af commit 69a5890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Wire/src/Wire.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ uint32_t TwoWire::getClock()
388388
return frequency;
389389
}
390390

391-
void TwoWire::setClock(uint32_t frequency)
391+
bool TwoWire::setClock(uint32_t frequency)
392392
{
393393
esp_err_t err = ESP_OK;
394394
#if !CONFIG_DISABLE_HAL_LOCKS

0 commit comments

Comments
 (0)