change south switch order
This commit is contained in:
@@ -44,7 +44,7 @@ void chrg_north_sw_uart (eIDX_CH ch, eIDX_ID id)
|
||||
|
||||
if (ID_SOURCE == id) {
|
||||
rt_pin_write(sw_uart[ch], PIN_HIGH);
|
||||
} else {
|
||||
} else if (ID_SINK == id) {
|
||||
rt_pin_write(sw_uart[ch], PIN_LOW);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user