IRIS port is working with uIPv6

This commit is contained in:
HATATANI Shinta 2011-06-15 17:18:20 +09:00
parent 9a201f6934
commit f4740a062a
11 changed files with 85 additions and 338 deletions

View file

@ -109,14 +109,14 @@ unsigned char ds2401_id[8];
* where n is the number of iterations and XTAL is the clock frequency(in MHz).
* TODO: Moving the delay_loop to dev/clock.c
*/
static void
delay_loop(uint16_t __count)
{
asm volatile ("1: sbiw %0,1" "\n\t"
"brne 1b"
: "=w" (__count)
: "0" (__count)
);
static void
delay_loop(uint16_t __count)
{
asm volatile ("1: sbiw %0,1" "\n\t"
"brne 1b"
: "=w" (__count)
: "0" (__count)
);
}
/*---------------------------------------------------------------------------*/
/*