Obsolete
/
libipc-old
Archived
3
0
Fork 0

Bindings: update API (following previous naming consistency changes).

master
Philippe Pittoli 2023-01-20 23:14:02 +01:00
parent 3e3d996e7b
commit eb99ba6cb2
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;