Add uip_clear_buf() macro and replace all instances of uip_len = 0; with it
This commit is contained in:
parent
cb09689846
commit
1784338b2e
30 changed files with 92 additions and 84 deletions
|
@ -90,7 +90,7 @@ request_prefix(void) CC_NON_BANKED
|
|||
uip_buf[1] = 'P';
|
||||
uip_len = 2;
|
||||
slip_send();
|
||||
uip_len = 0;
|
||||
uip_clear_buf();
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Set our prefix when we receive one over SLIP */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue