From dffec228bc681b8045866c3578e6c9a6830b236f Mon Sep 17 00:00:00 2001 From: BartolomeyKant Date: Tue, 17 Mar 2026 11:06:58 +0500 Subject: [PATCH] fix comments --- examples/capi/oddity/aether_ground_control.c | 7 +++++-- examples/capi/oddity/aether_tom.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/capi/oddity/aether_ground_control.c b/examples/capi/oddity/aether_ground_control.c index 96563839..c1454631 100644 --- a/examples/capi/oddity/aether_ground_control.c +++ b/examples/capi/oddity/aether_ground_control.c @@ -81,11 +81,14 @@ void ClientSelected(AetherClient* client, void* user_data) { printf("<<<\n"); } -void MessageSentCb(ActionStatus status, void* user_data) { AetherExit(0); } +void MessageSentCb(ActionStatus status, void* user_data) { + // close app + AetherExit(0); +} void MessageReceived(AetherClient* client, CUid sender, void const* data, size_t size, void* user_data) { - printf(">>> Received message size: %zu test: %s\n", size, (char const*)data); + printf(">>> Received message size: %zu text: %s\n", size, (char const*)data); // send message and wait till it sent SendStr(sender, message, MessageSentCb, NULL); } diff --git a/examples/capi/oddity/aether_tom.c b/examples/capi/oddity/aether_tom.c index eebba9a4..afdadc34 100644 --- a/examples/capi/oddity/aether_tom.c +++ b/examples/capi/oddity/aether_tom.c @@ -63,7 +63,7 @@ char const* message = "Major Tom to ground control"; void MessageReceived(AetherClient* client, CUid sender, void const* data, size_t size, void* user_data) { - printf(">>> Received message size: %zu test: %s\n", size, (char const*)data); + printf(">>> Received message size: %zu text: %s\n", size, (char const*)data); AetherExit(0); }