Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Mar 21, 2024
1 parent 06b6665 commit 4f49754
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hepa-uv/firmware/uv_control_task/uv_control_hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

using namespace uv_control_hardware;

uint32_t UVControlHardware::get_uv_light_voltage() {
auto UVControlHardware::get_uv_light_voltage() -> uint32_t {
return get_uv_light_voltage_reading();
}
2 changes: 1 addition & 1 deletion include/hepa-uv/core/interfaces.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ class UVControlInterface {
auto operator=(const UVControlInterface&) -> UVControlInterface& = delete;
virtual ~UVControlInterface() = default;

virtual auto get_uv_light_voltage(void) -> uint32_t = 0;
virtual auto get_uv_light_voltage() -> uint32_t = 0;
};
} // namespace uv_control
2 changes: 1 addition & 1 deletion include/hepa-uv/firmware/uv_control_hardware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class UVControlHardware : public uv_control::UVControlInterface {
// lets migrate gpio.set/reset to it, so we can de-couple hardware
// specific functionality from logic so we can fix simulation.

uint32_t get_uv_light_voltage() final;
auto get_uv_light_voltage() -> uint32_t final;
};

} // namespace uv_control_hardware

0 comments on commit 4f49754

Please sign in to comment.