Code fixes for Feature/#498 #540
Conversation
- removed VALUEn constants - cleaned up code a little bit - removed integer-based switchMode - made string-based switchMode public - removed saving of current sensor mode - we read always from the kernel now
- reading now depends on BaseSensor - switchMode is called on sensor before reading data - merged all sensor cases into one reading loop
- sensor mode 3 doesn't not exist, but 2 does
|
Hmmm, |
|
Tomorrow, I will check and I will merge in the branch |
|
I have reviewed the changes in Github. I liked the refactoring in both sides: Classes & Tests. Maybe we mixed the refactoring in the tests with the changes in the objects for sensors. Later, I will download the branch to review the changes in the sensor classes. Juan Antonio |
|
Oki, thanks for the review. |
|
For the motor in another moment, put the focus in the issue. Later we will refactor :) |
|
Reviewed |
This resolves all my objections I've had.