Skip to content

Commit

Permalink
Remove remaining debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Aug 14, 2024
1 parent 91b4984 commit 9198bee
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/analogIO/Wippersnapper_AnalogIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,8 @@ void Wippersnapper_AnalogIO::deinitAnalogPin(
uint16_t Wippersnapper_AnalogIO::getPinValue(int pin) {
// get pin value
uint16_t value = analogRead(pin);
WS_DEBUG_PRINT("Analog Pin (#");
WS_DEBUG_PRINT(pin);
WS_DEBUG_PRINT(") read: ");
WS_DEBUG_PRINTLN(value);
// scale by the ADC resolution manually if not implemented by BSP
if (scaleAnalogRead) {
WS_DEBUG_PRINTLN("Scaling analog read value...");
if (getADCresolution() > getNativeResolution()) {
value = value << (getADCresolution() - getNativeResolution());
} else {
Expand Down

0 comments on commit 9198bee

Please sign in to comment.