Skip to content

Commit

Permalink
fix: project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikRevich committed Jun 8, 2024
1 parent d46da98 commit 13ff326
Show file tree
Hide file tree
Showing 29 changed files with 4 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class TSL2591X {
*
* @return read device id.
*/
static bool get_device_id();
static uint8_t get_device_id();

/**
* Resets light sensor to the default state, initializing device with default settings.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Mutex {
*
* @return retrieved state of the mutex.
*/
bool is_locked() const;
[[nodiscard]] bool is_locked() const;
private:
/**
* Represents current state of the mutex.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,6 @@ int SchedulerHandler::process_settings_bus_request_content_response(

return EXIT_FAILURE;
}


}

Indicator::toggle_action_success();
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bool TSL2591X::is_available() {
return HAL_I2C_IsDeviceReady(&hi2c1, TSL2591X_ADDRESS, 1u, 10u) == HAL_OK;
}

bool TSL2591X::get_device_id() {
uint8_t TSL2591X::get_device_id() {
return read_byte(WHO_AM_I);
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void Sequence<T>::traverse_until_succeed(std::function<int(T)> callback) {

sequence.pop();
}
};
}

template <typename T>
void Sequence<T>::add(const T& src) {
Expand Down

0 comments on commit 13ff326

Please sign in to comment.