candle-usb / candleLight_fw

gs_usb compatible firmware for candleLight, cantact and canable
Other
662 stars 292 forks source link

Fix the standby pin set/reset to use the active high/low define #138

Closed ryedwards closed 2 years ago

ryedwards commented 2 years ago

Code was ignoring the active flag as defined in config.h. The flag was used in the GPIO init routines but not in can.c where it is used during can_enable and can_disable.

fenugrec commented 2 years ago

Thanks. I rewrote it slightly differently though in f4f1586dbf563b4850d5b52e99aac06f0311403e