diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-23 13:57:38 +0100 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-23 13:57:38 +0100 |
| commit | 3b80f74ce10cfd7e55199dcb9a8c4b80598227d2 (patch) | |
| tree | 43d267ff02ef9c04b60305adead701de8c5a1fa5 /Source/System.h | |
| parent | a923f153f906144de599024148fc868e234d06cd (diff) | |
| download | airport-3b80f74ce10cfd7e55199dcb9a8c4b80598227d2.tar.gz | |
Optimization flag changed from -Os to -O3 (seems to perform better FPS-wise).
Improved const-correctness and scope for some variables.
Diffstat (limited to 'Source/System.h')
| -rw-r--r-- | Source/System.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/System.h b/Source/System.h index a5417b1..12c0079 100644 --- a/Source/System.h +++ b/Source/System.h @@ -13,6 +13,8 @@ #define TIMER_PRESCALER_1_SECOND 10 #define TIMER_PRESCALER_1_MINUTE (TIMER_PRESCALER_1_SECOND * 60) +#define ARRAY_SIZE(x) (sizeof ((x)) / sizeof ((x[0]))) + /* ************************************** * Global Prototypes * * **************************************/ |
