diff options
author | Ilya Stolyarov <i.stolyarov@thirdpin.ru> | 2019-07-09 17:29:15 +0300 |
---|---|---|
committer | Ilya Stolyarov <i.stolyarov@thirdpin.ru> | 2019-07-09 17:29:15 +0300 |
commit | a7f50526953c649dab9ed29afe8fecdfae39f99d (patch) | |
tree | 9ba04d0385f790272d82b3808f0b912844216aeb /include/libopencm3 | |
parent | 9035b0400a4588070594e3e43086a207acf325bf (diff) |
IMPR: [usb] Some style improvements
Diffstat (limited to 'include/libopencm3')
-rw-r--r-- | include/libopencm3/usb/dwc/otg_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/usb/dwc/otg_common.h b/include/libopencm3/usb/dwc/otg_common.h index 366ed14d..e85184c7 100644 --- a/include/libopencm3/usb/dwc/otg_common.h +++ b/include/libopencm3/usb/dwc/otg_common.h @@ -248,7 +248,7 @@ #define OTG_DCTL_RWUSIG (1 << 0) /* OTG device configuration register (OTG_DCFG) */ -#define OTG_DCFG_DSPD_MASK (0x3 << 0) +#define OTG_DCFG_DSPD_MASK (0b11 << 0) #define OTG_DCFG_DSPD_FS_INT 0x0003 #define OTG_DCFG_DSPD OTG_DCFG_DSPD_FS_INT #define OTG_DCFG_NZLSOHSK 0x0004 |