- sirq_write(comm_sirq_bbb, &head, sizeof(head));
- sirq_write(comm_sirq_bbb, &body, sizeof(body));
+ //sirq_printf("relaying init\r\n");
+
+ sirq_write(comm_sirq_mbed, head, sizeof(*head));
+ sirq_write(comm_sirq_mbed, body, sizeof(*body));
+
+ // Normally we transmit during the time sync but
+ // if we haven't started syncing yet, we need to
+ // push out the message now.
+ if (!comm_sync_due)
+ sirq_transmit(comm_sirq_mbed);