check reset source for non-PM9 wake
don't reboot at end of sleep & ensure 2.2 is digital input
stop pulling down VUSB at PB3.9
rev freakusb
set freakusb connection state based on usb bus valid
clean up some resource leaks
re-indent and cleanup
cleanup
missing braces in LED timer handler
Lower LED tick rate to make it easier to count flashes
Rev FreakUSB to version that has it's own LED code
up led speed to make fade more natural, update LED setting code to match FreakUSB adjustments
clean up initial LED state
cleanup
make sure bluetooth can go into stop during PM9
shorten pin check interval, check on bluetooth if TDI_DTR define enabled, stays awake until next transmit or bluetooth connection drops
fix typo for wake behavior, also try to save more power when using bluetooth
option for lower system clock, include rounding for clock selection
set ADC divider based on system clock
set flash read time to slow when using lower system clock