![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Course project for LE484 at Thammasat University, class of 2016
Diff: main.cpp
- Revision:
- 4:3aaedd16c77b
- Parent:
- 3:e38819a2b38c
- Child:
- 5:d35cd42da2ac
--- a/main.cpp Mon May 08 04:05:24 2017 +0000 +++ b/main.cpp Mon May 08 04:12:17 2017 +0000 @@ -29,7 +29,7 @@ while (true) { osEvent evt = mbx.get(); if (evt.status == osEventMail) { - char *mail = (mail_t*)evt.value.p; + char *mail = (char*)evt.value.p; pc.printf("Got %c\n", *mail); mbx.free(mail); }