Skip to content

Commit

Permalink
Merge pull request #1 from aczid/fixFreetosGtimer
Browse files Browse the repository at this point in the history
Added (trivial) ticks to ms conversion for linux
  • Loading branch information
annejan authored Jun 12, 2017
2 parents f20d419 + 787039d commit b9d46af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gos/gos_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ typedef pthread_mutex_t gfxMutex;
#define gfxRealloc(p,osz,nsz) realloc(p, nsz)
#define gfxFree(ptr) free(ptr)
#define gfxMillisecondsToTicks(ms) (ms)
#define gfxTicksToMilliseconds(ticks) (ticks)
#define gfxThreadMe() pthread_self()
#define gfxThreadClose(th) (void)th
#define gfxMutexInit(pmtx) pthread_mutex_init(pmtx, 0)
Expand Down

0 comments on commit b9d46af

Please sign in to comment.