You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
464 B

  1. // Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #ifndef RGBLIGHT_LIMIT_VAL
  5. # if defined(OLED_ENABLE)
  6. # define RGBLIGHT_LIMIT_VAL 100
  7. # else
  8. # define RGBLIGHT_LIMIT_VAL 150
  9. # endif
  10. #endif
  11. #ifndef OLED_BRIGHTNESS
  12. # ifdef RGBLIGHT_ENABLE
  13. # define OLED_BRIGHTNESS 80
  14. # else
  15. # define OLED_BRIGHTNESS 150
  16. # endif
  17. #endif