FreeCalypso > hg > fc-magnetite
diff src/cs/services/cst/cst_exts.c @ 571:b24d42baa30d
BIG_SMALL_SLEEP mode implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 12 Jan 2019 23:03:06 +0000 |
parents | 855b3c5bb4b5 |
children |
line wrap: on
line diff
--- a/src/cs/services/cst/cst_exts.c Sat Jan 12 22:53:46 2019 +0000 +++ b/src/cs/services/cst/cst_exts.c Sat Jan 12 23:03:06 2019 +0000 @@ -650,9 +650,10 @@ * 2 -> BIG_SLEEP * 3 -> DEEP_SLEEP * 4 -> ALL_SLEEP + * 5 -> BIG_SMALL_SLEEP */ - if (((*cmd - '0') >= 0) && ((*cmd - '0') <= 4)) + if (((*cmd - '0') >= 0) && ((*cmd - '0') <= 5)) { power_down_config ((UBYTE) (*cmd - '0'), UWIRE_CLK_CUT); return( AT_CMPL );