Skip to content

Commit

Permalink
Removed temporary debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Mar 10, 2025
1 parent b585b4d commit bf56078
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions FluidNC/src/Machine/UserOutputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ namespace Machine {

// The 0.5 rounds to the nearest duty unit
uint32_t duty = uint32_t(((percent * pin.maxDuty()) / 100.0f) + 0.5);
printf("analog percent %f maxduty %d duty %d\n", percent, pin.maxDuty(), duty);

if (_current_value[io_num] == duty) {
return true;
}
Expand Down
1 change: 0 additions & 1 deletion FluidNC/src/Pins/ChannelPinDetail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ namespace Pins {
return 999;
}
void IRAM_ATTR ChannelPinDetail::setDuty(uint32_t duty) {
printf("pwm index %d duty %d cmd %x\n", _index, duty, 0x10000 + (_index << 10) + duty);
_channel->writeUTF8(0x10000 + (_index << 10) + duty);
}

Expand Down

0 comments on commit bf56078

Please sign in to comment.