Commit graph

12 commits

Author SHA1 Message Date
953694d56c Fix -Wold-style-definion errors in the raspberrypi port
This mostly means changing `void foo()` to `void foo(void)` at
the function definition site. This was previously only an error
if the declaration site didn't have `(void)`, but the unix
coverage build enables the more strict warning and there's little
difficulty in resolving these diagnostics.

.. other ports can be done too, if desired.
2025-05-25 09:16:00 +02:00
Tod Kurt
232b699290 Add "pull" parameter to TouchIn ports 2025-04-07 18:53:05 -07:00
Dan Halbert
950b5d09d2 guard2once -s ... 2024-05-19 20:40:44 -04:00
Dan Halbert
747b7619ea update headers of most CircuitPython-only files 2024-05-17 14:56:28 -04:00
Dan Halbert
daa11cb1c2 updates before header conversion 2024-05-17 14:56:28 -04:00
774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
Dan Halbert
0d2c3c3f08 wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
Hanns Holger Rutz
92231e88ca
Touchin.c - fix clean up in constructor before exception is thrown
When the constructor value reading times out, an exception is thrown, but the digital pin is not de-initialised. Make sure to run the clean up, so user could catch the exception and retry using the same pin.
2022-08-10 21:49:18 +02:00
microDev
a52eb88031
run code formatting script 2021-03-15 19:27:36 +05:30
Lucian Copeland
c1f731d62e Claim USB pins at startup to prevent overwrites 2020-07-22 14:22:05 -04:00
Dan Halbert
cccbbd956d Detect lack of pulldown; check for pin in use 2019-08-19 23:40:34 -04:00
Dan Halbert
e2a4c76a37 make nrf touchio be generic: now available for SAMD51 too 2019-08-18 08:44:10 -04:00