Skip to content

Commit

Permalink
ports/psoc6: Fixed spelling typos.
Browse files Browse the repository at this point in the history
Signed-off-by: jaenrig-ifx <[email protected]>
  • Loading branch information
jaenrig-ifx authored and actions-user committed May 7, 2023
1 parent 0d540a2 commit 50897a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/psoc6/modules/machine/machine_pin.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


// enums to map MPY parameters to CYHAL params to avoid confusion
// these are used as returns from functions and comparisions to MP_QSTRs in mapping functions
// these are used as returns from functions and comparisons to MP_QSTRs in mapping functions
// enum to hold pin modes
enum {GPIO_MODE_IN, GPIO_MODE_OUT, GPIO_MODE_OPEN_DRAIN, GPIO_MODE_ALT, GPIO_MODE_ALT_OPEN_DRAIN, GPIO_MODE_ANALOG};

Expand Down
2 changes: 1 addition & 1 deletion ports/psoc6/mphalport.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void mp_hal_delay_ms(mp_uint_t ms) {
// for an explanation.

// An increment of 1 ms is added to the delay. In principle
// that should be correted by some internal behaviour or RTOS
// that should be corrected by some internal behaviour or RTOS
// but it does not seem to work like this, as we are always
// getting one more second in our Test 1 of tests/psoc/time.py.

Expand Down

0 comments on commit 50897a7

Please sign in to comment.