It will be called from both driver init() routines and from threads. How tell the difference so that the function can call HAL_DELAY_US() in the former case and cyg_thread_delay() in the latter?
--
Grant Edwards grante Yow! I love ROCK 'N
at ROLL! I memorized the
visi.com all WORDS to "WIPE-OUT"
in1965!!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
