This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
don't let timer1 exist without b5 being enabled
pull/1445/head
Jack Humbert
6 years ago
parent
ea7590c894
commit
7d28a417c0
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
keyboards/atomic/keymaps/pvc/config.h
+2
-0
quantum/audio/audio.c
+ 2
- 0
keyboards/atomic/keymaps/pvc/config.h
View File
@ -49,6 +49,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#
define BACKLIGHT_PIN B7
#
define BACKLIGHT_BREATHING
#
define C6_AUDIO
/* COL2ROW or ROW2COL */
#
define DIODE_DIRECTION COL2ROW
+ 2
- 0
quantum/audio/audio.c
View File
@ -442,6 +442,7 @@ ISR(TIMER3_COMPA_vect)
}
#
endif
#
ifdef B5_AUDIO
ISR
(
TIMER1_COMPA_vect
)
{
#
if defined(B5_AUDIO) && !defined(C6_AUDIO)
@ -572,6 +573,7 @@ ISR(TIMER1_COMPA_vect)
}
#
endif
}
#
endif
void
play_note
(
float
freq
,
int
vol
)
{
Write
Preview
Loading…
Cancel
Save