Closed bertrik closed 3 years ago
This change uses an enum for the i2c_state, instead of discrete "magical" numbers. The enum values are chosen to be identical to the previously used number. This makes it more clear what the numbers mean, the comments can be removed.
This change uses an enum for the i2c_state, instead of discrete "magical" numbers. The enum values are chosen to be identical to the previously used number. This makes it more clear what the numbers mean, the comments can be removed.