Changes between Version 8 and Version 9 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdSetEvent
- Timestamp:
- 12/13/12 15:42:47 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdSetEvent
v8 v9 19 19 // Global 20 20 CMillisecondTimer timerReqWeight; 21 int nextReqScale = 1; 21 22 ... 23 24 MnBdStartup(); 22 25 23 26 SetBackgroundEvent(BackgroundEventComm); … … 51 54 if(timerReqWeigt.IsExpired() == true) 52 55 { 53 MnBdRequest(1, MNBD_REQ_GET_WT, NO_WAIT_ACK); 56 MnBdRequest(nextReqScale, MNBD_REQ_GET_WT, NO_WAIT_ACK); 57 if(nextReqScale == GetNumScales()) 58 nextReqScale = 1; 59 else 60 nextReqScale++; 54 61 } 55 62 return 0;