Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix BACKLIGHT_CAPS_LOCK warning #15999

Merged
merged 2 commits into from
Jan 22, 2022
Merged

Conversation

zvecr
Copy link
Member

@zvecr zvecr commented Jan 22, 2022

Description

Non backlight keyboards are currently spitting out the following error:

Compiling: quantum/led.c                                                                           quantum/led.c:24:13: note: '#pragma message: Cannot use BACKLIGHT_CAPS_LOCK without backlight being enabled'
   24 | #    pragma message "Cannot use BACKLIGHT_CAPS_LOCK without backlight being enabled"
      |             ^~~~~~~
 [OK]
Compiling: 

Seems i let the some logic changes slip through when merging files.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@zvecr zvecr added the bug label Jan 22, 2022
@zvecr zvecr requested a review from a team January 22, 2022 22:41
@github-actions github-actions bot added the core label Jan 22, 2022
@drashna drashna requested a review from a team January 22, 2022 22:56
@zvecr zvecr merged commit eddd1c0 into qmk:develop Jan 22, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants