Revision 1461
updated all the library code to have sensible _init behavior.
Almost all of the library components have a global variable which gets set after init and the functions inside will fail with an error code if init has not been called. Also, the init functions themselves check this variable and will bail out without doing any damage if that init has already been called
Files
- added
- modified
- copied
- renamed
- deleted
- trunk
- code
- lib
- projects
- hunter_prey
- libdragonfly
- analog.c (diff)
- analog.h (diff)
- bom.c (diff)
- bom.h (diff)
- dragonfly_lib.h (diff)
- eeprom.c (diff)
- eeprom.h (diff)
- encoders.c (diff)
- encoders.h (diff)
- i2c.c (diff)
- motor.c (diff)
- motor.h (diff)
- rangefinder.c (diff)
- rangefinder.h (diff)
- serial.c (diff)
- serial.h (diff)
- spi.c (diff)
- spi.h (diff)
- time.c (diff)
- time.h (diff)
- test
- code