summaryrefslogtreecommitdiff
path: root/ports/cxd56/common-hal/pulseio/PulseOut.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-05-30 10:44:13 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-06-03 10:56:35 +0100
commitdd5d7c86d22807c021dd1711eb7dd3daebc5cfcf (patch)
treedde417af2cae8cb1797582d6489eab9cb9caeddf /ports/cxd56/common-hal/pulseio/PulseOut.c
parent60df6170cc5d0e495fde9613c05c55b64189b425 (diff)
Fix up end of file and trailing whitespace.
This can be enforced by pre-commit, but correct it separately to make it easier to review.
Diffstat (limited to 'ports/cxd56/common-hal/pulseio/PulseOut.c')
-rw-r--r--ports/cxd56/common-hal/pulseio/PulseOut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/cxd56/common-hal/pulseio/PulseOut.c b/ports/cxd56/common-hal/pulseio/PulseOut.c
index 5e1d5a2ed..21b4c77e5 100644
--- a/ports/cxd56/common-hal/pulseio/PulseOut.c
+++ b/ports/cxd56/common-hal/pulseio/PulseOut.c
@@ -63,7 +63,7 @@ void common_hal_pulseio_pulseout_construct(pulseio_pulseout_obj_t *self,
if (pulse_fd < 0) {
pulse_fd = open("/dev/timer0", O_RDONLY);
}
-
+
if (pulse_fd < 0) {
mp_raise_RuntimeError(translate("All timers in use"));
}