Skip to content

Commit

Permalink
changed off_t to osal_off_t
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-burger committed Feb 7, 2024
1 parent a9acfed commit 5382dd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/libethercat/hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ typedef struct hw {
osal_uint8_t recv_frame[ETH_FRAME_LEN]; //!< \brief Static receive frame.
osal_bool_t polling_mode; //!< \brief Special interrupt-less polling-mode flag.

#if LIBETHERCAT_BUILD_DEVICE_SOCK_RAW_MMAPED
#if LIBETHERCAT_BUILD_DEVICE_SOCK_RAW_MMAPED == 1
int mmap_packets; //!< \brief Doing mmap packets.
osal_char_t *rx_ring; //!< kernel mmap receive buffers
osal_char_t *tx_ring; //!< kernel mmap send buffers

off_t rx_ring_offset; //!< \brief Offset in RX ring.
off_t tx_ring_offset; //!< \brief Offset in TX ring.
osal_off_t rx_ring_offset; //!< \brief Offset in RX ring.
osal_off_t tx_ring_offset; //!< \brief Offset in TX ring.
#endif

#if LIBETHERCAT_BUILD_DEVICE_PIKEOS == 1
Expand Down

0 comments on commit 5382dd0

Please sign in to comment.