diff options
| author | Joshua Diamond <josh@windowoffire.com> | 2021-02-14 20:00:20 -0500 |
|---|---|---|
| committer | Joshua Diamond <josh@windowoffire.com> | 2021-02-14 20:00:20 -0500 |
| commit | 328a8322f4134fdec2f29b8dd58501c99b4de876 (patch) | |
| tree | e2f79e3e6b3a197d0d4df1b0c042e830ab17c355 /drivers | |
| parent | f1a3ce49ccdfee79fbad76fd13bcf4448318eb6b (diff) | |
| parent | 8e8b7113dcf1ec8be0bdac75ed4a1d2b256a5965 (diff) | |
| download | qmk_firmware-328a8322f4134fdec2f29b8dd58501c99b4de876.tar.gz qmk_firmware-328a8322f4134fdec2f29b8dd58501c99b4de876.zip | |
Merge branch 'develop' of github.com:qmk/qmk_firmware into develop
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/chibios/usbpd_stm32g4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/chibios/usbpd_stm32g4.c b/drivers/chibios/usbpd_stm32g4.c index 54c1e1fb3..f16ca8aea 100644 --- a/drivers/chibios/usbpd_stm32g4.c +++ b/drivers/chibios/usbpd_stm32g4.c | |||
| @@ -64,7 +64,7 @@ __attribute__((weak)) usbpd_allowance_t usbpd_get_allowance(void) { | |||
| 64 | switch (vstate_max) { | 64 | switch (vstate_max) { |
| 65 | case 0: | 65 | case 0: |
| 66 | case 1: | 66 | case 1: |
| 67 | return USBPD_500MA; // Note that this is 500mA (i.e. max USB 2.0), not 900mA, as we're not using USB 3.1 as a sink device. | 67 | return USBPD_500MA; // Note that this is 500mA (i.e. max USB 2.0), not 900mA, as we're not using USB 3.1 as a sink device. |
| 68 | case 2: | 68 | case 2: |
| 69 | return USBPD_1500MA; | 69 | return USBPD_1500MA; |
| 70 | case 3: | 70 | case 3: |
