Skip to content

Commit

Permalink
Fix bug that causes alarm if default debug broadcast port is chosen o…
Browse files Browse the repository at this point in the history
…n non-YRC1000 controllers
  • Loading branch information
jimmy-mcelwain committed Oct 16, 2024
1 parent b970c41 commit 134814a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ConfigFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@ typedef enum
#define DEFAULT_IGNORE_MISSING_CALIB FALSE

#define DEFAULT_ULAN_DEBUG_BROADCAST_ENABLED TRUE

#if defined (YRC1000)
#define DEFAULT_ULAN_DEBUG_BROADCAST_PORT CFG_ROS_USER_LAN_ALL
#else
#define DEFAULT_ULAN_DEBUG_BROADCAST_PORT CFG_ROS_USER_LAN1
#endif
typedef struct
{
//TODO(gavanderhoorn): add support for unsigned types
Expand Down

0 comments on commit 134814a

Please sign in to comment.