]> Pileus Git - ~andy/csm213a-hw/blobdiff - hw2/main.cpp
Start working on serial relay
[~andy/csm213a-hw] / hw2 / main.cpp
index 2c2d86d2ce72990fb057b93044e00ccc581976ba..a31969dbda9de61f50e56a846a525cc3d42f0220 100644 (file)
@@ -115,14 +115,14 @@ void task_events(uint64_t local, uint64_t world)
 #endif
 
        if (tdma_stamp(tdma_evt, &event))
-               comm_send_event(sirq_bbb, 0, event);
+               comm_send_event(0, event);
        tdma_stop(tdma_evt, 0);
        tdma_start(tdma_evt);
 }
 
 void task_sync(uint64_t local, uint64_t world)
 {
-       comm_send_sync(sirq_mbed, local);
+       comm_send_sync(local);
 }
 
 void task_leds(uint64_t local, uint64_t world)
@@ -145,7 +145,7 @@ void task_debug(uint64_t local, uint64_t world)
 
        //sirq_debug(sirq_mbed);
 
-       comm_send_event(sirq_bbb, 1, local);
+       comm_send_event(1, local);
 
 #ifdef VERBOSE
        sirq_printf("background - %6u.%02u -> %u.%02u\r\n",