summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-15 11:53:15 +1100
committerGitHub <noreply@github.com>2021-02-15 11:53:15 +1100
commit8e8b7113dcf1ec8be0bdac75ed4a1d2b256a5965 (patch)
tree3bb6c5e8690afeffbec4f6f6e8308e117eaaf0b6 /drivers
parentc80e5f9f8868ccaa8cb990be6f4da3f1011c2b78 (diff)
Format code according to conventions (#11907)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/chibios/usbpd_stm32g4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/chibios/usbpd_stm32g4.c b/drivers/chibios/usbpd_stm32g4.c
index 54c1e1fb3d..f16ca8aeae 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) {
switch (vstate_max) {
case 0:
case 1:
- 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.
+ 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.
case 2:
return USBPD_1500MA;
case 3: