Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug] "CH_H" redefined when using fr_ch extra keymap #11530

Closed
rhea-machine opened this issue Jan 12, 2021 · 0 comments · Fixed by #11537
Closed

[Bug] "CH_H" redefined when using fr_ch extra keymap #11530

rhea-machine opened this issue Jan 12, 2021 · 0 comments · Fixed by #11537

Comments

@rhea-machine
Copy link

Describe the Bug

When creating a new keyboard layout using the extra keymap quantum/keymap_extras/keymap_fr_ch.h,
and using CH_H the compilation fails as CH_H is defined twice:

  • once in keymap_fr_ch.h
  • once in lib/chibios/os/rt/include/ch.h

System Information

  • Keyboard: Planck/rev6
  • Operating system: Linux
  • AVR GCC version: 5.4.0
  • ARM GCC version: 8.3.1
  • QMK Firmware version: 0.11.43

How to reproduce

  • generate new keymap with qmk new-keymap
  • add #include keymap_fr_ch.h into your new keymap.c
  • compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant