Skip to content

Commit

Permalink
Clang-format analogio.h + cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Oct 15, 2024
1 parent 4fb596e commit e45a391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/analogIO/Wippersnapper_AnalogIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void Wippersnapper_AnalogIO::setADCResolution(int resolution) {
scaleAnalogRead = false; // handled in bsp (analogReadResolution)
analogReadResolution(resolution); // 16 bit values (shifted from 12 or 13bit)
#if defined(ESP32S3)
_nativeResolution = 13; // S3 ADC is 13-bit, others are 12-bit
_nativeResolution = 13; // S3 ADC is 13-bit, others are 12-bit
#else
_nativeResolution = 12;
#endif
Expand Down
3 changes: 2 additions & 1 deletion src/components/analogIO/Wippersnapper_AnalogIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class Wippersnapper_AnalogIO {
void setADCResolution(int resolution);
int getADCresolution();
int getNativeResolution();
bool timerExpired(long currentTime, analogInputPin pin, long periodOffset = 0);
bool timerExpired(long currentTime, analogInputPin pin,
long periodOffset = 0);

void update();
bool encodePinEvent(
Expand Down

0 comments on commit e45a391

Please sign in to comment.