adafruit / Adafruit_BluefruitLE_nRF51

Arduino library for nRF51822-based Adafruit Bluefruit LE modules
197 stars 122 forks source link

Warnings because of wrong member initialization order in Adafruit_BluefruitLE_UART #16

Closed betabandido closed 8 years ago

betabandido commented 8 years ago

Members _mode_pin, _rts_pin and _cts_pin are not initialized in the same order that they are declared. This triggers a warning during compilation time.

The attached patch fixes the issue.

patch.txt