emfcamp / Mk2-Firmware

Firmware that runs on the TiLDA v2 Badge
18 stars 36 forks source link

Get debugger on mutex #116

Closed marksteward closed 10 years ago

marksteward commented 10 years ago

Testing before 09f38dc suggested that frameBufferMutex != 0 on the first call to WaitForDisplay, so it was never created. Check why this is, given it ought to be in BSS.

marksteward commented 10 years ago

Looks like it is indeed being initialised to 0, but once we've allocated it, the call to GLCD.Init is setting it back to 0, so the give call is hanging.