Skip to content

Commit

Permalink
Fix bug in AVR set()
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Jan 26, 2019
1 parent f3694f4 commit 991fd39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit Circuit Playground
version=1.8.2
version=1.8.3
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=All in one library to control Adafruit's Circuit Playground board.
Expand Down
2 changes: 1 addition & 1 deletion utility/Adafruit_CPlay_Speaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void Adafruit_CPlay_Speaker::end(void) {
void Adafruit_CPlay_Speaker::set(uint8_t value) {
if(!started) begin();
#ifdef __AVR__
TCCR4A = value;
OCR4A = value;
#else
analogWrite(A0, value);
#endif
Expand Down

0 comments on commit 991fd39

Please sign in to comment.