Skip to content

Commit

Permalink
ports/psoc6: Code Cleanup.
Browse files Browse the repository at this point in the history
Signed-off-by: IFX-Anusha <Anusha.TR@infineon.com>
  • Loading branch information
IFX-Anusha committed Mar 9, 2024
1 parent a763acd commit 2990f8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ports/psoc6/machine_pin_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ mp_obj_t pin_name_by_addr(mp_obj_t pin) {
int pin_addr_by_name(mp_obj_t pin) {
if (mp_obj_is_str(pin)) {
return machine_pin_phy_obj[pin_find(pin)].addr;
printf("pinphybit %lu\n\r", machine_pin_phy_obj[pin_find(pin)].addr);
} else {
return pin_fetch_address(pin);
}
Expand Down
1 change: 0 additions & 1 deletion ports/psoc6/modmachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,4 @@ STATIC void mp_machine_idle(void) {
{ MP_ROM_QSTR(MP_QSTR_ADCBlock), MP_ROM_PTR(&machine_adcblock_type) }, \
{ MP_ROM_QSTR(MP_QSTR_I2S), MP_ROM_PTR(&machine_i2s_type) }, \


#endif // MICROPY_PY_MACHINE

0 comments on commit 2990f8a

Please sign in to comment.