zephyr/projects/corsola/src/krabby/usbc_config.c: Format with clang-format
BRANCH=none
TEST=none
@@ -58,12 +58,12 @@ void ppc_interrupt(enum gpio_signal signal)
int ppc_get_alert_status(int port)
{
if (port == 0) {
- return gpio_pin_get_dt(
- GPIO_DT_FROM_NODELABEL(usb_c0_ppc_bc12_int_odl)) == 0;
+ return gpio_pin_get_dt(GPIO_DT_FROM_NODELABEL(
+ usb_c0_ppc_bc12_int_odl)) == 0;
}
if (port == 1 && corsola_get_db_type() == CORSOLA_DB_TYPEC) {
- return gpio_pin_get_dt(
- GPIO_DT_FROM_ALIAS(gpio_usb_c1_ppc_int_odl)) == 0;
+ return gpio_pin_get_dt(GPIO_DT_FROM_ALIAS(
+ gpio_usb_c1_ppc_int_odl)) == 0;
}
return 0;
@@ -74,12 +74,16 @@ const struct cc_para_t *board_get_cc_tuning_parameter(enum usbpd_port port)
const static struct cc_para_t
cc_parameter[CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT] = {
{
- .rising_time = IT83XX_TX_PRE_DRIVING_TIME_1_UNIT,
- .falling_time = IT83XX_TX_PRE_DRIVING_TIME_2_UNIT,
+ .rising_time =
+ IT83XX_TX_PRE_DRIVING_TIME_1_UNIT,
+ .falling_time =
+ IT83XX_TX_PRE_DRIVING_TIME_2_UNIT,
},
{
- .rising_time = IT83XX_TX_PRE_DRIVING_TIME_1_UNIT,
- .falling_time = IT83XX_TX_PRE_DRIVING_TIME_2_UNIT,
+ .rising_time =
+ IT83XX_TX_PRE_DRIVING_TIME_1_UNIT,
+ .falling_time =
+ IT83XX_TX_PRE_DRIVING_TIME_2_UNIT,
},
};
