History | View | Annotate | Download (6.95 KB)
Reverted "libdragonfly" folder back to version before Init Checking was implemented and did "make dist" to recompile the library. BOM LEDs now shine correctly.
moved dragonfly definitions to separate header file
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
update of includes in library, removed unnecessary calls to stdlib.h
Apparently there were changes to bom.c and bom.h since the last time the library was compiled.
delay_ms has been rewritten to use _delay_loop_2 which is a 4 cycle implementation of a delay written in assembly. This is questionably more accurate but does not use floating point to make delays anymore. ...
fixed some style stuff
Updated libdragonfly documentation.
Added libdragonfly project folder.