DeqingSun / ch55xduino

An Arduino-like programming API for the CH55X
GNU Lesser General Public License v2.1
448 stars 86 forks source link

remove mDelay functions #11

Closed nerdralph closed 4 years ago

nerdralph commented 4 years ago

Since ch55xduino implements delay() and delayMicroseconds(), there is no point using the mDelay functions. https://github.com/DeqingSun/ch55xduino/blob/ch55xduino/ch55xduino/ch55x/cores/ch55xduino/debug_util.c

DeqingSun commented 4 years ago

delayMicroseconds is not implemented yet. mDelay is used in init() and other places. I'll see if it is safe to replace them with Arduino's delay.

DeqingSun commented 4 years ago

fixed with https://github.com/DeqingSun/ch55xduino/commit/5d695e3e4d5bfe41c36b36262f1a9be382d87738