Changed parameter name that conflicted with Keil datatype.

This commit is contained in:
skarg
2007-10-01 02:01:34 +00:00
parent 39f59f6c2d
commit 71eac31ee2
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -68,9 +68,9 @@ extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
void bitstring_init(BACNET_BIT_STRING * bit_string); void bitstring_init(BACNET_BIT_STRING * bit_string);
void bitstring_set_bit(BACNET_BIT_STRING * bit_string, uint8_t bit, void bitstring_set_bit(BACNET_BIT_STRING * bit_string, uint8_t bit_number,
bool value); bool value);
bool bitstring_bit(BACNET_BIT_STRING * bit_string, uint8_t bit); bool bitstring_bit(BACNET_BIT_STRING * bit_string, uint8_t bit_number);
uint8_t bitstring_bits_used(BACNET_BIT_STRING * bit_string); uint8_t bitstring_bits_used(BACNET_BIT_STRING * bit_string);
/* returns the number of bytes that a bit string is using */ /* returns the number of bytes that a bit string is using */
int bitstring_bytes_used(BACNET_BIT_STRING * bit_string); int bitstring_bytes_used(BACNET_BIT_STRING * bit_string);
+3 -3
View File
@@ -59,17 +59,17 @@ extern "C" {
/* encode service */ /* encode service */
int wp_encode_apdu(uint8_t * apdu, int wp_encode_apdu(uint8_t * apdu,
uint8_t invoke_id, BACNET_WRITE_PROPERTY_DATA * data); uint8_t invoke_id, BACNET_WRITE_PROPERTY_DATA * wp_data);
/* decode the service request only */ /* decode the service request only */
int wp_decode_service_request(uint8_t * apdu, int wp_decode_service_request(uint8_t * apdu,
unsigned apdu_len, BACNET_WRITE_PROPERTY_DATA * data); unsigned apdu_len, BACNET_WRITE_PROPERTY_DATA * wp_data);
#ifdef TEST #ifdef TEST
#include "ctest.h" #include "ctest.h"
int wp_decode_apdu(uint8_t * apdu, int wp_decode_apdu(uint8_t * apdu,
unsigned apdu_len, unsigned apdu_len,
uint8_t * invoke_id, BACNET_WRITE_PROPERTY_DATA * data); uint8_t * invoke_id, BACNET_WRITE_PROPERTY_DATA * wp_data);
void test_ReadProperty(Test * pTest); void test_ReadProperty(Test * pTest);
void test_ReadPropertyAck(Test * pTest); void test_ReadPropertyAck(Test * pTest);