mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-16 12:53:17 +00:00
Multi Module Board Definition Updates (#133)
This commit is contained in:
@@ -152,7 +152,7 @@ typedef struct dma_tube_reg_map {
|
||||
|
||||
#define DMA_ISR_TEIF (1 << DMA_ISR_TEIF_BIT)
|
||||
#define DMA_ISR_HTIF (1 << DMA_ISR_HTIF_BIT)
|
||||
#define DMA_ISR_TCID (1 << DMA_ISR_TCIF_BIT)
|
||||
#define DMA_ISR_TCIF (1 << DMA_ISR_TCIF_BIT)
|
||||
#define DMA_ISR_GIF (1 << DMA_ISR_GIF_BIT)
|
||||
|
||||
#define DMA_ISR_TEIF7_BIT 27
|
||||
@@ -559,7 +559,6 @@ typedef enum dma_mode_flags {
|
||||
*
|
||||
* (It's not possible to fully configure a DMA stream on F2 with just
|
||||
* this information, so this interface is too tied to the F1.) */
|
||||
__deprecated
|
||||
void dma_setup_transfer(dma_dev *dev,
|
||||
dma_channel channel,
|
||||
__io void *peripheral_address,
|
||||
|
||||
@@ -59,7 +59,7 @@ extern i2c_dev* const I2C2;
|
||||
* For internal use
|
||||
*/
|
||||
|
||||
static inline uint32 _i2c_bus_clk(i2c_dev *dev) {
|
||||
static inline uint32 _i2c_bus_clk(i2c_dev *dev __attribute__((unused))) {
|
||||
/* Both I2C peripherals are on APB1 */
|
||||
return STM32_PCLK1 / (1000 * 1000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user