We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9233d2e commit 642733eCopy full SHA for 642733e
src/components/i2c/controller.cpp
@@ -880,6 +880,9 @@ bool I2cController::Handle_I2cDeviceAddOrReplace(pb_istream_t *stream) {
880
// Is this an i2c output device?
881
bool is_output = _i2c_model->GetI2cDeviceAddOrReplaceMsg()->is_output;
882
883
+ // Is this a i2c GPS?
884
+ bool is_gps = _i2c_model->GetI2cDeviceAddOrReplaceMsg()->has_gps_config;
885
+
886
// TODO [Online]: Handle Replace messages by implementing the Remove handler
887
// first...then proceed to adding a new device
888
0 commit comments