Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sofian committed Mar 19, 2024
2 parents 8bc5aa1 + 595dc61 commit b28fba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PqOutputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ float AnalogOut::put(float value) {
value = _value * 255;
value = round(value);
// Write to analog output (inverting if needed).
#if defined(ESP32) or defined(ARDUINO_ARCH_ESP32)
dacWrite
#if (defined(ESP32) or defined(ARDUINO_ARCH_ESP32)) and defined(SOC_DAC_SUPPORTED)
dacWrite // use dacWrite if available
#else
analogWrite
#endif
Expand Down

0 comments on commit b28fba2

Please sign in to comment.