Minor: Fixed indentation.

This commit is contained in:
Florian Pose 2024-02-02 10:15:47 +01:00
parent 984cb49633
commit df354272a8
1 changed files with 11 additions and 10 deletions

View File

@ -397,10 +397,10 @@ typedef struct {
* \see ecrt_master(). * \see ecrt_master().
*/ */
typedef struct { typedef struct {
unsigned int slave_count; /**< Number of slaves in the bus. */ unsigned int slave_count; /**< Number of slaves in the bus. */
unsigned int link_up : 1; /**< \a true, if the network link is up. */ unsigned int link_up : 1; /**< \a true, if the network link is up. */
uint8_t scan_busy; /**< \a true, while the master is scanning the bus */ uint8_t scan_busy; /**< \a true, while the master is scanning the bus */
uint64_t app_time; /**< Application time. */ uint64_t app_time; /**< Application time. */
} ec_master_info_t; } ec_master_info_t;
/****************************************************************************/ /****************************************************************************/
@ -412,10 +412,11 @@ typedef struct {
* \see ecrt_master_scan_progress(). * \see ecrt_master_scan_progress().
*/ */
typedef struct { typedef struct {
unsigned int slave_count; /**< Number of slaves detected. */ unsigned int slave_count; /**< Number of slaves detected. */
unsigned int scan_index; /**< Index of the slave that is currently scanned. unsigned int scan_index; /**< Index of the slave that is currently
If it is less than the \a slave_count, the scanned. If it is less than the \a
network scan is in progress. */ slave_count, the network scan is in progress.
*/
} ec_master_scan_progress_t; } ec_master_scan_progress_t;
/****************************************************************************/ /****************************************************************************/
@ -589,8 +590,8 @@ typedef struct {
(byte-)offset in the process data. */ (byte-)offset in the process data. */
unsigned int *bit_position; /**< Pointer to a variable to store a bit unsigned int *bit_position; /**< Pointer to a variable to store a bit
position (0-7) within the \a offset. Can be position (0-7) within the \a offset. Can be
NULL, in which case an error is raised if the NULL, in which case an error is raised if
PDO entry does not byte-align. */ the PDO entry does not byte-align. */
} ec_pdo_entry_reg_t; } ec_pdo_entry_reg_t;
/****************************************************************************/ /****************************************************************************/