Skip to content

Commit

Permalink
chore: remove obsolete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Nov 27, 2023
1 parent 2a9d68c commit 3474b44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion include/zenoh-pico/system/link/raweth.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#if Z_FEATURE_RAWETH_TRANSPORT == 1

// Ethernet types
#define _ZP_ETH_TYPE_VLAN 0x8100 // 2048 (0x0800) IPv4
#define _ZP_ETH_TYPE_VLAN 0x8100
#define _ZP_ETH_TYPE_CUTOFF 0x600 // Values above are ethertype

// Address Sizes
Expand Down
1 change: 0 additions & 1 deletion src/transport/raweth/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ static int8_t __unsafe_z_raweth_write_header(_z_transport_multicast_t *ztm) {
size_t len = _z_wbuf_len(&ztm->_wbuf);
_z_raweth_socket_t *resocket = &ztm->_link._socket._raweth;

// FIXME config function call to set the correct dmac & vlan value
// Write eth header in buffer
if (resocket->_has_vlan) {
_zp_eth_vlan_header_t header;
Expand Down

0 comments on commit 3474b44

Please sign in to comment.