smealum/ctrulib — pull request #12 by StapleButter (2014-09-18 20:12:18+00:00)
Title: Sync mechanism for entering sleep mode

Sample code showing how this should be used can be found in the commit description.

May not be correct, but successfully passed several tests.