Skip to content

Ss brake clean - #102

Open
Knhwong wants to merge 4 commits into
masterfrom
ss-brakeClean
Open

Ss brake clean#102
Knhwong wants to merge 4 commits into
masterfrom
ss-brakeClean

Conversation

@Knhwong

@Knhwong Knhwong commented Mar 6, 2023

Copy link
Copy Markdown

Same as brake, makes things cleaner.

@Knhwong
Knhwong requested a review from kshxtij as a code owner March 6, 2023 18:52
Comment thread lib/brakes/brakes.cpp
Comment thread lib/brakes/brakes.hpp Outdated
Comment thread lib/brakes/brakes.cpp Outdated
Comment thread lib/brakes/brakes.hpp
void release();

private:
const std::uint8_t pin_;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't used anywhere?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's explicitly used in constructor for writer but nowhere else?

Comment thread lib/brakes/brakes.hpp
class Brakes {
public:
Brakes(const std::uint8_t pin, const io::IGpio gpio);
void stop();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants