Skip to content

Commit

Permalink
add define USB_MAX_POWER_CONSUMPTION
Browse files Browse the repository at this point in the history
  • Loading branch information
mtei committed Mar 7, 2018
1 parent 655ed16 commit a40c08f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions keyboards/helix/rev2/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
#endif

#ifdef RGBLIGHT_ENABLE
// USB_MAX_POWER_CONSUMPTION value for Helix keyboard
// 120 RGBoff, OLEDoff
// 120 OLED
// 330 RGB 6
// 300 RGB 32
// 310 OLED & RGB 32
#define USB_MAX_POWER_CONSUMPTION 330
#else
// fix iPhone and iPad power adapter issue
// iOS device need lessthan 100
#define USB_MAX_POWER_CONSUMPTION 100
#endif

0 comments on commit a40c08f

Please sign in to comment.