]> Pileus Git - ~andy/csm213a-hw/blobdiff - hw2/messages.h
Add readme and cleanup formatting cleanup
[~andy/csm213a-hw] / hw2 / messages.h
index ef81129aedba89b27c281149cb69ca99e189b5b1..275e7857c0f5aae970a331ff89d271c146267b91 100644 (file)
@@ -18,7 +18,7 @@ extern "C" {
 #define MSG_CTL_VALID_START  0x0004  // start time is valid
 #define MSG_CTL_VALID_PERIOD 0x0008  // period is valid
 #define MSG_CTL_RELAY_MODE   0x4000  // relay output messages
-#define MSG_CTL_VALID_SYNC   0x8000  // begin time sync
+#define MSG_CTL_BEGIN_SYNC   0x8000  // begin time sync
 
 #pragma pack(1)
 
@@ -45,7 +45,7 @@ typedef struct {
        uint16_t control;  // Message control bits
        uint16_t device;   // Device ID to use
        ntime_t  world;    // World time (since 1970)
-       ntime_t  start;    // Transmit start time 
+       ntime_t  start;    // Transmit start time
        ntime_t  period;   // Transmit period
 } init_msg_t;