flav1972 / ArduinoINA219

An Arduino library for the INA219 I2C current monitor
17 stars 16 forks source link

Removing unused variable warnings #4

Closed ulysse314 closed 5 years ago

ulysse314 commented 5 years ago

Hello,

This commit reduces the number of unused variable warnings.

Thanks,

ulysse314 commented 5 years ago

Done

ulysse314 commented 5 years ago

I'm not convinced about moving the variables at the beginning of the method since it is c++, and not c. Also I feel it is better to have the variables next to the code, since it seems easier to read with one debug block.