qmk/qmk_firmware

[Bug] X-bows Nature: red and blue LED colors interchanged

Open

#12.872 geöffnet am 11. Mai 2021

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C (43.867 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (20.368 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 20T 9h) (27 gemergte PRs in 30 T)

Beschreibung

Describe the Bug

This code should result in central (logo) LED being red:

void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
        RGB_MATRIX_INDICATOR_SET_COLOR(21, 255, 0, 0);
}

But in fact it becomes blue. And vise versa, it becomes red instead blue if change code as follows:

void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
        RGB_MATRIX_INDICATOR_SET_COLOR(21, 0, 0, 255);
}

Green is OK.

System Information

  • Keyboard: X-bows Nature
  • Operating system: Linux
  • AVR GCC version: 5.4.0
  • QMK Firmware version: master (77875e89eca07b2681ead5759d6e635823b24895)
  • Any keyboard related software installed?
    • AutoHotKey
    • Karabiner
    • Other:

Contributor Guide