Skip to content

Commit

Permalink
fix(Examples): Rename drive strngth enum in SPI_ControllerTarget for …
Browse files Browse the repository at this point in the history
…MAX78002
  • Loading branch information
sihyung-maxim committed Jul 12, 2023
1 parent d721f18 commit 85534c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/MAX78002/SPI_ControllerTarget/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ int main(void)
target_pins.func = MXC_GPIO_FUNC_OUT;
target_pins.pad = MXC_GPIO_PAD_PULL_UP;
target_pins.vssel = MXC_GPIO_VSSEL_VDDIO; // Set custom target pin to VDDIOH (3.3V).
target_pins.ds = MXC_GPIO_DS_3; // Set custom target pin to VDDIOH (3.3V).
target_pins.dssel = MXC_GPIO_DRVSTR_3; // Set custom target pin to VDDIOH (3.3V).

controller_init.ts_control =
MXC_SPI_TSCONTROL_SW_DRV; // SPI Driver will handle deassertion for TS pins.
Expand Down

0 comments on commit 85534c6

Please sign in to comment.