Skip to content
Snippets Groups Projects
Commit 693caf3e authored by q3k's avatar q3k
Browse files

flow3r_bsp: fix badgelink polarity on p6

parent 91859a9e
No related branches found
No related tags found
No related merge requests found
......@@ -109,12 +109,12 @@ static const flow3r_bsp_iodef_t iodef = {
.right = IPEX(5, 1, .invert = true),
},
.trrs_left = {
.tip_badgelink_enable = OPEX(6, 0, .invert = true),
.ring_badgelink_enable = OPEX(5, 0, .invert = true),
.tip_badgelink_enable = OPEX(6, 0),
.ring_badgelink_enable = OPEX(5, 0),
},
.trrs_right = {
.tip_badgelink_enable = OPEX(4, 0, .invert = true),
.ring_badgelink_enable = OPEX(3, 0, .invert = true),
.tip_badgelink_enable = OPEX(4, 0),
.ring_badgelink_enable = OPEX(3, 0),
},
.charger_state = IPEX(2, 1),
.jacksense_right = IPEX(6, 1),
......@@ -316,4 +316,4 @@ void flow3r_bsp_spio_badgelink_left_enable(bool tip_on, bool ring_on) {
void flow3r_bsp_spio_badgelink_right_enable(bool tip_on, bool ring_on) {
_iopin_set_pin(&iodef.trrs_right.ring_badgelink_enable, ring_on);
_iopin_set_pin(&iodef.trrs_right.tip_badgelink_enable, tip_on);
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment