Spirit: Commit some trivial changes in preparation for a more substantial change.
This commit is contained in:
parent
733d96cf81
commit
df51b69895
@ -112,7 +112,7 @@
|
||||
|
||||
#if CONFIG_SPIRIT_PKTLEN < 2
|
||||
# define PKT_LENGTH_WIDTH 1 /* 0 - 1 */
|
||||
#if CONFIG_SPIRIT_PKTLEN < 4
|
||||
#elif CONFIG_SPIRIT_PKTLEN < 4
|
||||
# define PKT_LENGTH_WIDTH 2 /* 2 - 3 */
|
||||
#elif CONFIG_SPIRIT_PKTLEN < 8
|
||||
# define PKT_LENGTH_WIDTH 3 /* 4 - 7 */
|
||||
@ -1082,6 +1082,10 @@ static void spirit_interrupt_work(FAR void *arg)
|
||||
pktmeta->pm_dest.pa_addr[0] =
|
||||
spirit_pktcommon_get_nodeaddress(spirit);
|
||||
|
||||
wlinfo("RX srcaddr=%02 destaddr=%02\n",
|
||||
pktmeta->pm_src.pa_addr[0],
|
||||
pktmeta->pm_dest.pa_addr[0]);
|
||||
|
||||
/* Add the contained IOB to the tail of the queue of
|
||||
* completed RX transfers.
|
||||
*/
|
||||
|
@ -130,7 +130,7 @@ struct spirit_pktstack_init_s
|
||||
* parameter can be any value from enum pkt_premblen_e */
|
||||
uint8_t synclen; /* Specifies the sync word length of packet. This
|
||||
* parameter can be any value of enum pkt_premblen_e */
|
||||
uint8_t fixvarlen; /* Specifies if a fixed length of packet has to be
|
||||
uint8_t fixvarlen; /* Specifies if a fixed length of packet has to be
|
||||
* used. This parameter can be any value of enum
|
||||
* pkt_fixvar_len_e */
|
||||
uint8_t pktlenwidth; /* Specifies the size of the length of packet in
|
||||
@ -138,7 +138,7 @@ struct spirit_pktstack_init_s
|
||||
* fixvarlen is set to STACK_LENGTH_VAR. For STack
|
||||
* packets the length width is log2( max payload
|
||||
* length + control length (0 to 4) + address length
|
||||
* (always 2)). This parameter is an FAR uint8_t */
|
||||
* (always 2)). */
|
||||
uint8_t crcmode; /* Specifies the CRC word length of packet. This
|
||||
* parameter can be any value of enum pkt_crcmode_e */
|
||||
uint8_t ctrllen; /* Specifies the length of a control field to be
|
||||
|
Loading…
Reference in New Issue
Block a user