Skip to content

Commit 2d655c8

Browse files
committed
spaces, not tabs, in C++
1 parent 4a1e52c commit 2d655c8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/viam/sdk/components/board.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ namespace sdk {
2626
class Board : public Component {
2727
public:
2828
/// @brief Represents the raw value received by the registered analog to digital converter
29-
/// (ADC). The range and conversion mechanism to voltage will vary depending on the specific
30-
/// ADC registered to the pin.
31-
using analog_value = int32_t;
32-
33-
/// @brief Represents the response received when reading the registered analog to digital
34-
/// converter (ADC). The range and conversion mechanism to voltage will vary depending on the
35-
/// specific ADC registered to the pin, though the min and max voltages and step_size can often
36-
/// help with this conversion. Consult your ADC's documentation and Viam's `Board`
37-
/// documentation for more details.
29+
/// (ADC). The range and conversion mechanism to voltage will vary depending on the specific
30+
/// ADC registered to the pin.
31+
using analog_value = int32_t;
32+
33+
/// @brief Represents the response received when reading the registered analog to digital
34+
/// converter (ADC). The range and conversion mechanism to voltage will vary depending on the
35+
/// specific ADC registered to the pin, though the min and max voltages and step_size can often
36+
/// help with this conversion. Consult your ADC's documentation and Viam's `Board`
37+
/// documentation for more details.
3838
struct analog_response {
3939
analog_value value;
4040
float min_range; // Minimum possible voltage read by the analog reader

src/viam/sdk/components/private/board_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Board::analog_response BoardClient::read_analog(const std::string& analog_reader
100100
throw GRPCException(status);
101101
}
102102
return Board::analog_response{
103-
response.value(), response.min_range(), response.max_range(), response.step_size()};
103+
response.value(), response.min_range(), response.max_range(), response.step_size()};
104104
}
105105

106106
void BoardClient::write_analog(const std::string& pin, int value, const AttributeMap& extra) {

0 commit comments

Comments
 (0)