From 0366737971347d656b390ad9519cd88fb3fb211e Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Fri, 6 Apr 2012 22:22:30 +0200 Subject: [PATCH] Fixed broken declaration of 2 functions --- mbus/mbus-protocol-aux.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mbus/mbus-protocol-aux.h b/mbus/mbus-protocol-aux.h index 739c930..9981362 100644 --- a/mbus/mbus-protocol-aux.h +++ b/mbus/mbus-protocol-aux.h @@ -187,14 +187,24 @@ int mbus_send_frame(mbus_handle * handle, mbus_frame *frame); int mbus_send_select_frame(mbus_handle * handle, const char *secondary_addr_str); /** - * Sends request frame to given slave using "unified" handle + * Sends data request frame to given slave using "unified" handle * * @param handle Initialized handle * @param address Address (0-255) * * @return Zero when successful. */ -int mbus_send_data_request_frame(mbus_handle * handle, int address); +int mbus_send_request_frame(mbus_handle * handle, int address); + +/** + * Sends ping frame to given slave using "unified" handle + * + * @param handle Initialized handle + * @param address Address (0-255) + * + * @return Zero when successful. + */ +int mbus_send_ping_frame(mbus_handle *handle, int address); /** * Probe/address slave by secondary address using "unified" handle