cvra / platform-abstraction

Platform abstraction layer for microcontrollers
3 stars 6 forks source link

Don't use malloc mutex before the OS is started #41

Closed Stapelzeiger closed 10 years ago

Stapelzeiger commented 10 years ago

Otherwise it hangs if you use functions that use malloc. This includes printf and the thread creation with dynamic stack allocation. Also I made the globals static.