Changes between Version 13 and Version 14 of ObjectDeveloperGuide
- Timestamp:
- 05/12/09 00:23:25 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ObjectDeveloperGuide
v13 v14 108 108 InitPHAL(); 109 109 110 switch(Status()) { 111 case PHAL_STATUS_INIT: 110 while(1) { 111 switch(Status()) { 112 case PHAL_STATUS_INIT: 112 113 /** Call INITIALIZATION function */ 113 114 if (!Init()) { … … 116 117 } 117 118 break; 118 case PHAL_STATUS_RUN:119 case PHAL_STATUS_RUN: 119 120 /** Call RUN function */ 120 121 if (!Run()) { … … 123 124 } 124 125 break; 125 default:126 default: 126 127 /** rest, is STOP */ 127 128 ClosePHAL(); 128 129 exit(0); 129 130 break; 130 } 131 Relinquish(); 131 } 132 Relinquish(); 133 } 132 134 } 133 135 }}}
