Bindings: update API (following previous naming consistency changes).
parent
3e3d996e7b
commit
eb99ba6cb2
|
@ -174,11 +174,11 @@ int wait_event(void) {
|
|||
printf ("TIMER.\n");
|
||||
break;
|
||||
}
|
||||
case TX: {
|
||||
case MESSAGE_TX: {
|
||||
printf ("A message has been sent.\n");
|
||||
break;
|
||||
}
|
||||
case MESSAGE: {
|
||||
case MESSAGE_RX: {
|
||||
if (size == 0) {
|
||||
printf ("No message returned.\n");
|
||||
return 1;
|
||||
|
|
|
@ -95,11 +95,11 @@ int main(int argc, char**argv) {
|
|||
|
||||
break;
|
||||
}
|
||||
case TX: {
|
||||
case MESSAGE_TX: {
|
||||
printf ("Message sent.\n");
|
||||
break;
|
||||
}
|
||||
case MESSAGE: {
|
||||
case MESSAGE_RX: {
|
||||
if (size == 0) {
|
||||
printf ("Error: no message returned.\n");
|
||||
should_continue = 0;
|
||||
|
|
Reference in New Issue