forked from forks/qmk_firmware
16 lines
382 B
C
16 lines
382 B
C
|
// Copyright 2023 Andrian (@PoringH)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include_next <mcuconf.h>
|
||
|
|
||
|
#undef STM32_I2C_USE_I2C1
|
||
|
#define STM32_I2C_USE_I2C1 TRUE
|
||
|
|
||
|
#undef STM32_I2C_I2C1_RX_DMA_STREAM
|
||
|
#define STM32_I2C_I2C1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
|
||
|
|
||
|
#undef STM32_I2C_I2C1_TX_DMA_STREAM
|
||
|
#define STM32_I2C_I2C1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|