Subversion Repositories NaviCtrl

Rev

Rev 195 | Rev 360 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 195 Rev 243
Line 148... Line 148...
148
}
148
}
Line 149... Line 149...
149
 
149
 
150
// -----------------------------------------------------------------------
150
// -----------------------------------------------------------------------
151
void Delay_ms(u32 w)
151
void Delay_ms(u32 w)
152
{
152
{
153
        static u32 akt;
153
        u32 akt;
154
        akt = SetDelay(w);
154
        akt = CountMilliseconds + w;
-
 
155
        while(1)
-
 
156
        {
-
 
157
                if(akt<=CountMilliseconds) return;
155
        while (!CheckDelay(akt));
158
        }