Skip to content

Commit 314c2bb

Browse files
committed
typos
1 parent 0cfff78 commit 314c2bb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/lib/axis/motor/servo/dc/DcServoDriver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define SERVO_HYST_EXIT_CPS 0.6f // drop below this to RETURN to zero
2626
#endif
2727

28-
ifdef SERVO_SIGMA_DELTA_DITHERING
28+
#ifdef SERVO_SIGMA_DELTA_DITHERING
2929
#include "SigmaDeltaDither.h"
3030
#endif
3131
#endif

src/lib/axis/motor/servo/dc/SigmaDeltaDither.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// overflows because it only carries the fractional residual in [0,1).
1010
// -----------------------------------------------------------------------------
1111

12+
#pragma once
13+
1214
#ifdef SERVO_SIGMA_DELTA_DITHERING
1315

1416
// Lightweight state holder for first-order sigma–delta dithering

0 commit comments

Comments
 (0)