-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pd rev2 fixes #258
Pd rev2 fixes #258
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the one change. I saw you also have your Power FSM changes up, but it looks like they're in this PR too. If you address the comments on that PR here, we can merge this one and close the other, or we can merge that one first and then you can resolve conflicts, up to you.
@@ -4,6 +4,12 @@ | |||
#include "outputs.h" | |||
#include "power_distribution_getters.h" | |||
|
|||
#define brake_lights() \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a huge fan of this syntax. I think it would be better to just make it a short prv_ function
@@ -72,14 +72,6 @@ static void prv_on_state_output(void *context) { | |||
|
|||
static void prv_on_state_input(Fsm *fsm, void *context) { | |||
pd_fault_ok_or_transition(fsm); | |||
if (power_context.target_state == POWER_STATE_OFF) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did this logic get removed?
No description provided.