X-Git-Url: http://pileus.org/git/?p=~andy%2Fcsm213a-hw;a=blobdiff_plain;f=hw2%2Fmain_comm.c;h=d5c66b168c7a66f1cc89ff7988cf6ee4245dd359;hp=ed864ccab1ba230a7bc03fc077834889ff4e6b49;hb=6cbe6f47d7ffc6959df5a74a33d789575f4746f4;hpb=f9b0067097963fa87b35d7844de1a30d2c93c005 diff --git a/hw2/main_comm.c b/hw2/main_comm.c index ed864cc..d5c66b1 100644 --- a/hw2/main_comm.c +++ b/hw2/main_comm.c @@ -9,7 +9,7 @@ #include "main_emit.h" /** - * Communcation overview: + * Communication overview: * * Initialization: * bbb --init1--> mbed1 @@ -26,7 +26,7 @@ * Initialization: * Each mbed is initialized by the BBB by receiving an initialization * message. The Device ID must be non-zero, and is saved for future - * messages. If the device is already initialized and a recevied Device ID + * messages. If the device is already initialized and a received Device ID * does not match the configured Device ID, the messages is relayed to the * second mbed. * @@ -159,7 +159,7 @@ void comm_send_sync(uint64_t local) */ void comm_send_event(uint16_t event, uint64_t local) { - //time_printf("event received", local); + time_printf("event received", local); // Convert timestamp uint64_t world = time_to_world(local);