aboutsummaryrefslogtreecommitdiffstats
path: root/sw/types.c
blob: c18392e8f5bd7737776d70b587a1c14d3c2bba15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <xc.h>

#include <stdint.h>

#include "types.h"

void
incU16(U16 *x) {
	x->lo++;
	if (x->lo == 0u) {
		x->hi++;
	}
}