Skip to content

Commit 84c806a

Browse files
author
Daniel Pollard
committed
updated descriptions and build variable
1 parent 8961dd9 commit 84c806a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

py/circuitpy_mpconfig.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ endif
110110
CFLAGS += -DCIRCUITPY_DIGITALIO=$(CIRCUITPY_DIGITALIO)
111111

112112
ifndef CIRCUITPY_COUNTIO
113-
CIRCUITPY_COUNTIO ?= 1
113+
CIRCUITPY_COUNTIO = 1
114114
endif
115115
CFLAGS += -DCIRCUITPY_COUNTIO=$(CIRCUITPY_COUNTIO)
116116

shared-bindings/countio/Counter.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212
//| .. currentmodule:: countio
1313
//|
14-
//| :class:`Counter` -- Track the count of edge transistions (pulses) on a given pin
14+
//| :class:`Counter` -- Track the count of falling edge transistions (pulses) on a given pin
1515
//| ====================================================================================
1616
//|
17-
//| Counter will keep track of the number of edge transistions (pulses) on a given pin
17+
//| Counter will keep track of the number of falling edge transistions (pulses) on a given pin
1818
//|
1919
//| .. class:: Counter(pin_a)
2020
//|
2121
//| Create an Counter object associated with the given pin. It tracks the number of
22-
//| pulses relative when the object is contructed.
22+
//| falling pulses relative when the object is constructed.
2323
//|
2424
//| :param ~microcontroller.Pin pin_a: Pin to read pulses from.
2525
//|

0 commit comments

Comments
 (0)