From 2cdbf20f9fce4d56ffd5a5ae879479ff11a59554 Mon Sep 17 00:00:00 2001 From: Jonathan <74002342+jd-imi@users.noreply.github.com> Date: Fri, 14 Jun 2024 17:13:40 +0200 Subject: [PATCH] ai.c, ao.c : Fix typos (#673) --- src/bacnet/basic/object/ai.c | 8 ++++---- src/bacnet/basic/object/ao.c | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/bacnet/basic/object/ai.c b/src/bacnet/basic/object/ai.c index 2489ea0c..3096b587 100644 --- a/src/bacnet/basic/object/ai.c +++ b/src/bacnet/basic/object/ai.c @@ -1536,7 +1536,7 @@ int Analog_Input_Alarm_Summary( #endif /* defined(INTRINSIC_REPORTING) */ /** - * @brief Creates a Analog Value object + * @brief Creates a Analog Input object * @param object_instance - object-instance number of the object * @return the object-instance that was created, or BACNET_MAX_INSTANCE */ @@ -1597,7 +1597,7 @@ uint32_t Analog_Input_Create(uint32_t object_instance) } /** - * @brief Deletes an Analog Value object + * @brief Deletes an Analog Input object * @param object_instance - object-instance number of the object * @return true if the object-instance was deleted */ @@ -1616,7 +1616,7 @@ bool Analog_Input_Delete(uint32_t object_instance) } /** - * @brief Deletes all the Analog Values and their data + * @brief Deletes all the Analog Inputs and their data */ void Analog_Input_Cleanup(void) { @@ -1635,7 +1635,7 @@ void Analog_Input_Cleanup(void) } /** - * @brief Initializes the Analog Value object data + * @brief Initializes the Analog Input object data */ void Analog_Input_Init(void) { diff --git a/src/bacnet/basic/object/ao.c b/src/bacnet/basic/object/ao.c index 22bef07a..11f24899 100644 --- a/src/bacnet/basic/object/ao.c +++ b/src/bacnet/basic/object/ao.c @@ -123,7 +123,7 @@ void Analog_Output_Property_Lists( } /** - * @brief Determines if a given Analog Value instance is valid + * @brief Determines if a given Analog Output instance is valid * @param object_instance - object-instance number of the object * @return true if the instance is valid, and false if not */ @@ -140,8 +140,8 @@ bool Analog_Output_Valid_Instance(uint32_t object_instance) } /** - * @brief Determines the number of Analog Value objects - * @return Number of Analog Value objects + * @brief Determines the number of Analog Output objects + * @return Number of Analog Output objects */ unsigned Analog_Output_Count(void) { @@ -150,7 +150,7 @@ unsigned Analog_Output_Count(void) /** * @brief Determines the object instance-number for a given 0..N index - * of Analog Value objects where N is Analog_Output_Count(). + * of Analog Output objects where N is Analog_Output_Count(). * @param index - 0..MAX_ANALOG_OUTPUTS value * @return object instance-number for the given index */ @@ -165,7 +165,7 @@ uint32_t Analog_Output_Index_To_Instance(unsigned index) /** * @brief For a given object instance-number, determines a 0..N index - * of Analog Value objects where N is Analog_Output_Count(). + * of Analog Output objects where N is Analog_Output_Count(). * @param object_instance - object-instance number of the object * @return index for the given instance-number, or MAX_ANALOG_OUTPUTS * if not valid. @@ -1183,7 +1183,7 @@ void Analog_Output_Write_Present_Value_Callback_Set( } /** - * @brief Creates a Analog Value object + * @brief Creates a Analog Output object * @param object_instance - object-instance number of the object * @return the object-instance that was created, or BACNET_MAX_INSTANCE */ @@ -1237,7 +1237,7 @@ uint32_t Analog_Output_Create(uint32_t object_instance) } /** - * @brief Deletes an Analog Value object + * @brief Deletes an Analog Output object * @param object_instance - object-instance number of the object * @return true if the object-instance was deleted */ @@ -1256,7 +1256,7 @@ bool Analog_Output_Delete(uint32_t object_instance) } /** - * @brief Deletes all the Analog Values and their data + * @brief Deletes all the Analog Outputs and their data */ void Analog_Output_Cleanup(void) { @@ -1275,7 +1275,7 @@ void Analog_Output_Cleanup(void) } /** - * @brief Initializes the Analog Value object data + * @brief Initializes the Analog Output object data */ void Analog_Output_Init(void) {