aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_nios.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 14:30:31 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 14:30:31 +1000
commit215f31ee3dd27f461540384cdba04b58b481fadc (patch)
tree1a100121d47819202187914dc4a321cfb7030351 /src/gos/gos_nios.h
parente23ae94e91369501df310bc3afd4ab711d263cab (diff)
downloaduGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.gz
uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.bz2
uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.zip
Added type gDelay to replace V2.x delaytime_t
Added type gTicks to replace V2.x systemticks_t Added type gThreadreturn to replace V2.x threadreturn_t Added type gThreadpriority to replace V2.x threadpriority_t
Diffstat (limited to 'src/gos/gos_nios.h')
-rw-r--r--src/gos/gos_nios.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gos/gos_nios.h b/src/gos/gos_nios.h
index 3ef7756f..463607b5 100644
--- a/src/gos/gos_nios.h
+++ b/src/gos/gos_nios.h
@@ -12,13 +12,13 @@
#include <sys/alt_alarm.h>
-typedef alt_u32 systemticks_t;
-typedef alt_u32 delaytime_t;
+typedef alt_u32 gTicks;
+typedef alt_u32 gDelay;
void gfxHalt(const char* msg);
void gfxExit(void);
-systemticks_t gfxSystemTicks(void);
-systemticks_t gfxMillisecondsToTicks(delaytime_t ms);
+gTicks gfxSystemTicks(void);
+gTicks gfxMillisecondsToTicks(gDelay ms);
// Use the generic thread handling and heap handling
#define GOS_NEED_X_THREADS GFXON