projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
net
/
ax25.c
diff --git
a/bertos/net/ax25.c
b/bertos/net/ax25.c
index a4059505b9878c195a3367329dff87ebf3d5900b..3d5ac3431f0d82059e0836416da318f69e036647 100644
(file)
--- a/
bertos/net/ax25.c
+++ b/
bertos/net/ax25.c
@@
-34,7
+34,6
@@
* For now, only UI frames without any Layer 3 protocol are handled.
* This however is enough to send/receive APRS packets.
*
* For now, only UI frames without any Layer 3 protocol are handled.
* This however is enough to send/receive APRS packets.
*
- * \version $Id$
* \author Francesco Sacchi <batt@develer.com>
*
*/
* \author Francesco Sacchi <batt@develer.com>
*
*/
@@
-265,7
+264,7
@@
static void print_call(KFile *ch, const AX25Call *call)
if (call->ssid)
kfile_printf(ch, "-%d", call->ssid);
}
if (call->ssid)
kfile_printf(ch, "-%d", call->ssid);
}
-
+
/**
* Print a AX25 message in TNC-2 packet monitor format.
* \param ch a kfile channel where the message will be printed.
/**
* Print a AX25 message in TNC-2 packet monitor format.
* \param ch a kfile channel where the message will be printed.
@@
-275,8
+274,8
@@
void ax25_print(KFile *ch, const AX25Msg *msg)
{
print_call(ch, &msg->src);
kfile_putc('>', ch);
{
print_call(ch, &msg->src);
kfile_putc('>', ch);
- print_call(ch, &msg->dst);
-
+ print_call(ch, &msg->dst);
+
#if CONFIG_AX25_RPT_LST
for (int i = 0; i < msg->rpt_cnt; i++)
{
#if CONFIG_AX25_RPT_LST
for (int i = 0; i < msg->rpt_cnt; i++)
{