X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=modules%2Fdebug%2Fdiagnostic%2Ftest%2Ftest_int_show.c;fp=modules%2Fdebug%2Fdiagnostic%2Ftest%2Ftest_int_show.c;h=2d22079e4b78e77eb385f19656cbd5df507e629e;hp=d5ef558e2ee09e361fa6a81e5c683544679b24b5;hb=cea4f18c66251f374ade2130563f0fbef96929be;hpb=0c1213d8f51ac18ea8d42d9018e9ffe2f9bf24c2 diff --git a/modules/debug/diagnostic/test/test_int_show.c b/modules/debug/diagnostic/test/test_int_show.c index d5ef558..2d22079 100644 --- a/modules/debug/diagnostic/test/test_int_show.c +++ b/modules/debug/diagnostic/test/test_int_show.c @@ -53,9 +53,9 @@ void interrupt(void) // prints the string if (buf[buf_index] == 0) - uart0_send(' '); + uart_send(0, ' '); else - uart0_send(buf[buf_index++]); + uart_send(0, buf[buf_index++]); } @@ -77,7 +77,7 @@ int test_int_show(void) wait_ms(500); // should be replaced by the scheduler - uart0_register_tx_event((void *) interrupt); + uart_register_tx_event(0, (void *) interrupt); // start characters printf("\n");