From 0ff301cda68669c59351e5854ce98f2cf460543f Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 27 Mar 2025 11:39:12 -0400 Subject: pull upstream changes, add auto formatting --- include/udefs.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'include/udefs.h') diff --git a/include/udefs.h b/include/udefs.h index 50b6952..ff74578 100644 --- a/include/udefs.h +++ b/include/udefs.h @@ -20,11 +20,11 @@ // delay loop counts -#define DELAY_LONG 100000000 -#define DELAY_MED 4500000 -#define DELAY_SHORT 2500000 +#define DELAY_LONG 100000000 +#define DELAY_MED 4500000 +#define DELAY_SHORT 2500000 -#define DELAY_STD DELAY_SHORT +#define DELAY_STD DELAY_SHORT #ifndef ASM_SRC @@ -36,9 +36,11 @@ // a delay loop - kind of ugly, but it works -#define DELAY(n) do { \ - for(int _dlc = 0; _dlc < (DELAY_##n); ++_dlc) continue; \ - } while(0) +#define DELAY(n) \ + do { \ + for (int _dlc = 0; _dlc < (DELAY_##n); ++_dlc) \ + continue; \ + } while (0) /* ** We need the list of program IDs so that we can request @@ -58,7 +60,7 @@ ** (following it with a semicolon). */ -#define USERMAIN(f) int f( int argc, char *argv[] ) +#define USERMAIN(f) int f(int argc, char *argv[]) /* ** User process controls. -- cgit v1.2.3-freya