![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
embedded RTOS class project.
Fork of RTOS_project by
Revision 4:e3887e314551, committed 2013-09-17
- Comitter:
- gatedClock
- Date:
- Tue Sep 17 23:59:15 2013 +0000
- Parent:
- 3:1b3329242491
- Commit message:
- add to structure initialization function.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1b3329242491 -r e3887e314551 main.cpp --- a/main.cpp Tue Sep 17 20:45:34 2013 +0000 +++ b/main.cpp Tue Sep 17 23:59:15 2013 +0000 @@ -912,6 +912,13 @@ ptToHost->cRegisterValue = 0x00; ptToHost->cMMaddress = 0x00; ptToHost->cMMdataH = 0x00; - ptToHost->cMMdataL = 0x00; + ptToHost->cMMdataL = 0x00; + ptToHost->cReg0 = 0x00; + ptToHost->cReg1 = 0x00; + ptToHost->cReg2 = 0x00; + ptToHost->cReg3 = 0x00; + ptToHost->cPC = 0x00; + ptToHost->cIRH = 0x00; + ptToHost->cIRL = 0x00; } // clear_tToHost. /*----------------------------------------------//----------------------------*/ \ No newline at end of file