From ee61ef56f775e44fd0b857a960102148910e6dce Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 16 Aug 2025 14:59:36 -0230 Subject: usbcom: modified libusb example --- fw/types.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 fw/types.c (limited to 'fw/types.c') diff --git a/fw/types.c b/fw/types.c new file mode 100644 index 0000000..c18392e --- /dev/null +++ b/fw/types.c @@ -0,0 +1,13 @@ +#include + +#include + +#include "types.h" + +void +incU16(U16 *x) { + x->lo++; + if (x->lo == 0u) { + x->hi++; + } +} -- cgit v1.2.3