diff --git a/src/NimBLE2904.h b/src/NimBLE2904.h index 9b615f5..a958b66 100644 --- a/src/NimBLE2904.h +++ b/src/NimBLE2904.h @@ -68,7 +68,7 @@ class NimBLE2904 : public NimBLEDescriptor { static const uint8_t FORMAT_OPAQUE = 27; static const uint8_t FORMAT_MEDASN1 = 28; - void setDescription(uint16_t); + void setDescription(uint16_t description); void setExponent(int8_t exponent); void setFormat(uint8_t format); void setNamespace(uint8_t namespace_value); diff --git a/src/NimBLEAdvertisementData.h b/src/NimBLEAdvertisementData.h index 6ae2ccf..86f4750 100644 --- a/src/NimBLEAdvertisementData.h +++ b/src/NimBLEAdvertisementData.h @@ -38,7 +38,7 @@ class NimBLEAdvertisementData { bool addData(const uint8_t* data, size_t length); bool addData(const std::vector& data); bool setAppearance(uint16_t appearance); - bool setFlags(uint8_t); + bool setFlags(uint8_t flag); bool addTxPower(); bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval); bool addServiceUUID(const NimBLEUUID& serviceUUID);