From 03fc278c84e7f560992acc9c9d782fdc39c4004b Mon Sep 17 00:00:00 2001 From: eleccoder <9162301+eleccoder@users.noreply.github.com> Date: Wed, 4 Aug 2021 14:46:33 +0200 Subject: [PATCH] Return value for 'aprs_pico_sendAPRS()' --- include/aprs_pico.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/aprs_pico.h b/include/aprs_pico.h index 0b3ded3..3a0f914 100644 --- a/include/aprs_pico.h +++ b/include/aprs_pico.h @@ -20,11 +20,11 @@ #define APRS_PICO_H #include +#include #include // For 'audio_buffer_pool_t' - /** \brief Initializes the APRS Pico library * * \return A pool of audio buffers to be used for rendering any audio signal @@ -44,8 +44,12 @@ audio_buffer_pool_t* aprs_pico_init(); * \param[in] longitude_in_deg The longitude of the geo-location (in degrees) * \param[in] altitude_in_m The altitude of the geo-location (in meters) * \param[in] volume The volume level of the generated AFSK signal (0 ... 256) + * + * \retval 'true' - Successful operation + * \retval 'false' - An error occurred + * */ -void aprs_pico_sendAPRS(audio_buffer_pool_t* audio_buffer_pool, +bool aprs_pico_sendAPRS(audio_buffer_pool_t* audio_buffer_pool, const char* call_sign_src, const char* call_sign_dst, const char* aprs_path_1,