Reformatting to comply with code style

This commit is contained in:
adamdunkels 2008-01-08 08:01:41 +00:00
parent 345d0a8a79
commit b50d2b02ee

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* @(#)$Id: clock.c,v 1.11 2007/11/12 21:07:39 adamdunkels Exp $ * @(#)$Id: clock.c,v 1.12 2008/01/08 08:01:41 adamdunkels Exp $
*/ */
@ -55,12 +55,11 @@ interrupt(TIMERA1_VECTOR) timera1 (void) {
ENERGEST_ON(ENERGEST_TYPE_IRQ); ENERGEST_ON(ENERGEST_TYPE_IRQ);
if(TAIV == 2) { if(TAIV == 2) {
/* Make sure interrupt time is future */ /* Make sure interrupt time is future */
do do {
{
TACCR1 += INTERVAL; TACCR1 += INTERVAL;
++count; ++count;
} } while((TACCR1 - TAR) > INTERVAL);
while ((TACCR1 - TAR) > INTERVAL);
last_tar = TAR; last_tar = TAR;
if(etimer_pending() if(etimer_pending()