forked from mirrors/qmk_userspace
Align ChibiOS I2C defs with other drivers (#14399)
* Align ChibiOS I2C defs with other drivers * Update keyboards/xelus/valor_frl_tkl/config.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
bb841087bb
commit
0fa217a5b7
26 changed files with 64 additions and 95 deletions
|
@ -53,9 +53,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
// I2C config
|
||||
#define I2C_DRIVER I2CD1
|
||||
#define I2C1_SCL_BANK GPIOB
|
||||
#define I2C1_SCL 6
|
||||
#define I2C1_SDA 7
|
||||
#define I2C1_SCL_PIN B6
|
||||
#define I2C1_SDA_PIN B7
|
||||
#define I2C1_SCL_PAL_MODE 1
|
||||
#define I2C1_SDA_PAL_MODE 1
|
||||
#define I2C1_TIMINGR_PRESC 0x00U
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue