Skip to content

Commit

Permalink
update - see revision.md
Browse files Browse the repository at this point in the history
  • Loading branch information
duff2013 committed Oct 11, 2020
1 parent 5af459d commit 4ae33c6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Snooze v6.3.8
# Snooze v6.3.9

---
Low power library for the Teensy LC/3.2/3.5/3.6/4.0 class microcontrollers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SnoozeDigital digital;// this is the pin wakeup driver
Snoozelc5vBuffer lc5vBuffer;
#endif

const uint8_t BUTTON = 7;
const uint8_t BUTTON = 6;

// debounce of 5ms
Bounce button = Bounce(BUTTON, 5);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SnoozeDigital digital;// this is the pin wakeup driver
Snoozelc5vBuffer lc5vBuffer;
#endif

const uint8_t BUTTON = 7;
const uint8_t BUTTON = 6;

// debounce of 5ms
Bounce button = Bounce(BUTTON, 5);
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Snooze
version=6.3.8
version=6.3.9
author=Colin Duffy
maintainer=Colin Duffy
sentence=Low Power for Teensy 4.x/3.x/LC
Expand Down
5 changes: 5 additions & 0 deletions revision.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Updated (10/10/20 v6.3.9)
Updated T4 SPI driver.
Changed Button Hold example pin to 6.
Updated start early hook in T4.

><b>Updated (4/20/20 v6.3.8)</b><br>
* Maintenance release.<br>
* Added new examples.<br>
Expand Down
3 changes: 2 additions & 1 deletion src/hal/TEENSY_40/hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,8 @@ void start_up( void ) {
}
//----------------------------------------------------------------------------------
void startup_early_hook( void ) {
if ( SRC_SRSR == 0x0 ) {
uint32_t OR_D_GPR = IOMUXC_GPR_GPR4 | IOMUXC_GPR_GPR7 | IOMUXC_GPR_GPR8 | IOMUXC_GPR_GPR12;
if ( OR_D_GPR > 0x0 ) {
IOMUXC_GPR_GPR1 &= ~IOMUXC_GPR_GPR1_GINT;
/*GPIO1_ISR = 0;//0xFFFFFFFF;
GPIO2_ISR = 0;//0xFFFFFFFF;
Expand Down

0 comments on commit 4ae33c6

Please sign in to comment.