embedded RTOS class project.

Fork of RTOS_project by Mike Moore

Files at this revision

API Documentation at this revision

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
--- 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