mirror of https://github.com/wb2osz/direwolf.git
Remove unnecessary/unhelpful casts
This commit is contained in:
parent
24fe207120
commit
fbf4aa0064
2
kiss.c
2
kiss.c
|
@ -685,7 +685,7 @@ void kiss_send_rec_packet (int chan, unsigned char *fbuf, int flen)
|
||||||
text_color_set(DW_COLOR_DEBUG);
|
text_color_set(DW_COLOR_DEBUG);
|
||||||
dw_printf ("\n");
|
dw_printf ("\n");
|
||||||
dw_printf ("Packet content before adding KISS framing and any escapes:\n");
|
dw_printf ("Packet content before adding KISS framing and any escapes:\n");
|
||||||
hex_dump ((char*)fbuf, flen);
|
hex_dump (fbuf, flen);
|
||||||
}
|
}
|
||||||
|
|
||||||
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);
|
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);
|
||||||
|
|
|
@ -511,7 +511,7 @@ void kissnet_send_rec_packet (int chan, unsigned char *fbuf, int flen)
|
||||||
text_color_set(DW_COLOR_DEBUG);
|
text_color_set(DW_COLOR_DEBUG);
|
||||||
dw_printf ("\n");
|
dw_printf ("\n");
|
||||||
dw_printf ("Packet content before adding KISS framing and any escapes:\n");
|
dw_printf ("Packet content before adding KISS framing and any escapes:\n");
|
||||||
hex_dump ((char*)fbuf, flen);
|
hex_dump (fbuf, flen);
|
||||||
}
|
}
|
||||||
|
|
||||||
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);
|
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);
|
||||||
|
|
Loading…
Reference in New Issue