emlid / Navio2

C++ and Python sensor examples for developers
BSD 3-Clause "New" or "Revised" License
173 stars 122 forks source link

make ADC_Navio2::initialize() return bool #30

Open chrstphrchvz opened 6 years ago

chrstphrchvz commented 6 years ago

I imagine it would be useful for ADC_Navio2::initialize() to report to the caller whether it initializes successfully or not (similar to what PWM:init() does). Would doing so break any existing code that uses it?

staroselskii commented 6 years ago

@chrstphrchvz

Sounds right. Would you like to make a PR?

chrstphrchvz commented 6 years ago

I do not currently have the means to implement or test this. If someone else would like to try, that is fine.