Code style fixes: cc2530dk examples

This commit is contained in:
George Oikonomou 2012-12-16 15:27:01 +00:00
parent 351a4d39b9
commit 594ba9a0ed
10 changed files with 38 additions and 35 deletions

View file

@ -75,7 +75,7 @@ print_local_addresses(void) CC_NON_BANKED
PUTSTRING(" ");
PRINT6ADDR(&uip_ds6_if.addr_list[i].ipaddr);
PUTCHAR('\n');
if (state == ADDR_TENTATIVE) {
if(state == ADDR_TENTATIVE) {
uip_ds6_if.addr_list[i].state = ADDR_PREFERRED;
}
}

View file

@ -57,7 +57,7 @@ static void
slip_input_callback(void)
{
PRINTF("SIN: %u\n", uip_len);
if((char) uip_buf[0] == '!') {
if((char)uip_buf[0] == '!') {
PRINTF("Got configuration message of type %c\n", uip_buf[1]);
uip_len = 0;
if((char)uip_buf[1] == 'P') {