candle-usb / candleLight_fw

gs_usb compatible firmware for candleLight, cantact and canable
Other
642 stars 283 forks source link

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

Closed ryedwards closed 1 year ago

ryedwards commented 1 year 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 1 year ago

Thanks. I rewrote it slightly differently though in f4f1586dbf563b4850d5b52e99aac06f0311403e