Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Apr 30, 2024
1 parent a553c8b commit 628c9c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions include/sensors/core/tasks/capacitive_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
#include "common/core/bit_utils.hpp"
#include "common/core/logging.h"
#include "common/core/message_queue.hpp"
#include "common/core/sensor_buffer.hpp"
#include "i2c/core/messages.hpp"
#include "sensors/core/fdc1004.hpp"
#include "sensors/core/sensor_hardware_interface.hpp"
#include "sensors/core/utils.hpp"
#include "common/core/sensor_buffer.hpp"

namespace sensors {

Expand Down Expand Up @@ -403,8 +403,9 @@ class FDC1004 {
static constexpr uint16_t STOP_DELAY = 0;
can::ids::SensorId sensor_id = can::ids::SensorId::S0;
fdc1004::MeasureConfigMode measure_mode = fdc1004::MeasureConfigMode::ONE;
fdc1004::MeasurementRate measurement_rate =
fdc1004::MeasurementRate::ONE_HUNDRED_SAMPLES_PER_SECOND; // make FOUR_HUNDRED_SAMPLES_PER_SECOND?
fdc1004::MeasurementRate measurement_rate = fdc1004::MeasurementRate::
ONE_HUNDRED_SAMPLES_PER_SECOND; // make
// FOUR_HUNDRED_SAMPLES_PER_SECOND?
bool shared_sensor = false;

float current_offset_pf = 0;
Expand Down
2 changes: 1 addition & 1 deletion include/sensors/core/tasks/pressure_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
#include "common/core/bit_utils.hpp"
#include "common/core/logging.h"
#include "common/core/message_queue.hpp"
#include "common/core/sensor_buffer.hpp"
#include "i2c/core/messages.hpp"
#include "sensors/core/mmr920.hpp"
#include "sensors/core/sensor_hardware_interface.hpp"
#include "sensors/core/sensors.hpp"
#include "sensors/core/utils.hpp"
#include "common/core/sensor_buffer.hpp"

namespace sensors {

Expand Down
4 changes: 2 additions & 2 deletions sensors/tests/test_capacitive_sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ SCENARIO("capacitance driver tests no shared CINs") {

queue_client.set_queue(&can_queue);
writer.set_queue(&i2c_queue);
sensors::tasks::FDC1004 callback_host(writer, poller, queue_client,
response_queue, mock_hw, false, &p_buff);
sensors::tasks::FDC1004 callback_host(
writer, poller, queue_client, response_queue, mock_hw, false, &p_buff);

can::message_writer_task::TaskMessage empty_msg{};

Expand Down

0 comments on commit 628c9c1

Please sign in to comment.