Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Committer:
arnoz
Date:
Fri Oct 01 08:19:46 2021 +0000
Revision:
116:7a67265d7c19
Parent:
48:058ace2aed1d
- Correct information regarding your last merge

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mjr 48:058ace2aed1d 1 // Global definitions
mjr 48:058ace2aed1d 2
mjr 48:058ace2aed1d 3 #ifndef PINSCAPE_H
mjr 48:058ace2aed1d 4 #define PINSCAPE_H
mjr 48:058ace2aed1d 5
mjr 48:058ace2aed1d 6 // custom malloc - includes diagnostics if we run out of memory
mjr 48:058ace2aed1d 7 void *xmalloc(size_t siz);
mjr 48:058ace2aed1d 8
mjr 48:058ace2aed1d 9 // diagnostic LED display
mjr 48:058ace2aed1d 10 void diagLED(int r, int g, int b);
mjr 48:058ace2aed1d 11
mjr 48:058ace2aed1d 12 // count of elements in array
mjr 48:058ace2aed1d 13 #define countof(x) (sizeof(x)/sizeof((x)[0]))
mjr 48:058ace2aed1d 14
mjr 48:058ace2aed1d 15 #endif