Skip to content

Commit

Permalink
invert active setting for ht tip presence sensor inits
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Oct 5, 2023
1 parent 25a8e1d commit 847449a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pipettes/firmware/utility_configurations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ auto utility_configs::sensor_configurations<PipetteType::NINETY_SIX_CHANNEL>()
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
.port = GPIOC,
.pin = GPIO_PIN_7,
.active_setting = GPIO_PIN_RESET}},
.active_setting = GPIO_PIN_SET}},
.secondary = sensors::hardware::SensorHardwareConfiguration{
.sync_out =
{// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
Expand All @@ -139,7 +139,7 @@ auto utility_configs::sensor_configurations<PipetteType::NINETY_SIX_CHANNEL>()
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
.port = GPIOC,
.pin = GPIO_PIN_12,
.active_setting = GPIO_PIN_RESET}}};
.active_setting = GPIO_PIN_SET}}};
return pins;
}

Expand All @@ -166,7 +166,7 @@ auto utility_configs::sensor_configurations<
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
.port = GPIOC,
.pin = GPIO_PIN_12,
.active_setting = GPIO_PIN_RESET}},
.active_setting = GPIO_PIN_SET}},
.secondary = sensors::hardware::SensorHardwareConfiguration{
.sync_out =
{// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
Expand All @@ -183,6 +183,6 @@ auto utility_configs::sensor_configurations<
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
.port = GPIOC,
.pin = GPIO_PIN_7,
.active_setting = GPIO_PIN_RESET}}};
.active_setting = GPIO_PIN_SET}}};
return pins;
}

0 comments on commit 847449a

Please sign in to comment.