Enhancement #798
get all the library inti's and functions to behave
30%
Description
multiple init calls should not cause undefined behavior
Related issues
History
#1 Updated by Brad Neuman about 14 years ago
- % Done changed from 0 to 30
Still need to deal with orbs, they are complicated because there are multiple init states.
Also, need to figure out a consistent way to deal with funciton like usb_getc which return a char
#2 Updated by Brad Neuman about 14 years ago
not doing lcd, since we don't have one
#3 Updated by Brad Neuman about 14 years ago
can't fix:
encoder_get_v
Also, need to get orbs working and then have buzzer / orbs fail if hte other is inited
#4 Updated by Brad Neuman about 14 years ago
cant do analog8 or analog10 either, need to think about these
#5 Updated by David Schultz about 14 years ago
Multiple xbee init works if you call terminate at end of use before initing again. Otherwise it will get stuck in an infinite loop waiting for a response that won't come. We should probably make the call return an error if it waits for over a second with no response.
What's the problem with usb_getc?
#6 Updated by David Schultz about 14 years ago
- Category set to Library
#7 Updated by Alex Zirbel about 13 years ago
- Priority changed from High to Normal
Brad, is this still an issue?