-
Notifications
You must be signed in to change notification settings - Fork 538
Closed
Description
Adafruit_nRF52_Arduino/libraries/Bluefruit52Lib/src/BLECharacteristic.cpp
Lines 562 to 570 in b5f5bdd
uint16_t BLECharacteristic::write32(int num) | |
{ | |
return write32( (uint32_t) num ); | |
} | |
uint16_t BLECharacteristic::write32(int32_t num) | |
{ | |
return write32( (uint32_t) num ); | |
} |
write32
is implemented for both int
and int32_t
- isn't this practically a redeclaration?
I have no problem compiling the library, but when I try to generate Rust bindings using bindgen I get (internally uses clang):
/home/dzervas/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src/BLECharacteristic.h:132:14: error: class member cannot be redeclared
/home/dzervas/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src/BLECharacteristic.h:131:14: note: previous declaration is here
I know though that my use case is very specific and if it causes problems it's better if this doesn't get fixed.
Metadata
Metadata
Assignees
Labels
No labels