• Verkehrsrot's avatar
    Sanitize compiler warning in BLERemoteService.cpp (issue #4660) (#4669) · fe093a5e
    Verkehrsrot authored
    Compiler complains on unused parameter pCharacteristicMap:
    
    framework-arduinoespressif32\libraries\BLE\src\BLERemoteService.cpp: In member function 'void BLERemoteService::getCharacteristics(std::map<short unsigned int, BLERemoteCharacteristic*>*)':
    \framework-arduinoespressif32\libraries\BLE\src\BLERemoteService.cpp:246:89: warning: parameter 'pCharacteristicMap' set but not used [-Wunused-but-set-parameter]
     void BLERemoteService::getCharacteristics(std::map<uint16_t, BLERemoteCharacteristic*>* pCharacteristicMap) {
    fe093a5e
BLERemoteService.cpp 11.4 KB