aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_nios.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-12-04 22:33:40 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-12-04 22:33:40 +0100
commitfca2766ed80318f211860773aa70509579090e28 (patch)
tree33f5832ccbfa9369d338ccd8bb005adde7af5b22 /src/gos/gos_nios.c
parent7d040805c780185502a8430a1f905d83bd582a46 (diff)
downloaduGFX-fca2766ed80318f211860773aa70509579090e28.tar.gz
uGFX-fca2766ed80318f211860773aa70509579090e28.tar.bz2
uGFX-fca2766ed80318f211860773aa70509579090e28.zip
Removing debugging code from NIOS port
Diffstat (limited to 'src/gos/gos_nios.c')
-rw-r--r--src/gos/gos_nios.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gos/gos_nios.c b/src/gos/gos_nios.c
index 185ed386..3a937026 100644
--- a/src/gos/gos_nios.c
+++ b/src/gos/gos_nios.c
@@ -50,9 +50,7 @@ void gfxExit(void) {
systemticks_t gfxSystemTicks(void)
{
- volatile alt_u32 ticks = alt_nticks();
-
- return ticks;
+ return alt_nticks();
}
systemticks_t gfxMillisecondsToTicks(delaytime_t ms)