blob: 6fc701cb0a9324225eddad651f1a4c0c5bf76336 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef COMMON__H
#define COMMON__H
/* Define __IO to be volatile if it's not already. */
#ifndef __IO
#define __IO volatile
#endif
#define bool int
#define PACKED __attribute__((packed))
#define BIT(n) (1 << (n))
#endif /* COMMON_H */
|