earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 boards
GNU Lesser General Public License v2.1
1.92k stars 402 forks source link

BTstack: remove superfluous call during setup. #2137

Closed djpearman closed 3 months ago

djpearman commented 3 months ago

Hi,

The call to le_device_db_init() seems to superfluous as it is called in the subsequent sm_init(). It is not present in BTstack examples I've seen, for example:

https://github.com/bluekitchen/btstack/blob/72ef1732c954d938091467961e41f4aa9b976b34/example/le_streamer_client.c

Removing has no apparent effects (good or bad) in my projects.

Best regards, djpearman