Enabled PM 2 sleep.  Minor code changes
Enabled PM 2 sleep.  Minor code changes

Still not sleeping HM-1x module, but wixel now sleeping deeply.
Minor code changes to fix some bugs, and organise the #define
SLEEP_MODE_USING to a better place.

jamorham/wixel-sdk,jamorham/wixel-sdk,jamorham/wixel-sdk,jamorham/wixel-sdk,seattlebrighton/wixel-sdk,seattlebrighton/wixel-sdk,seattlebrighton/wixel-sdk,seattlebrighton/wixel-sdk