arch/arm/src/stm32l4, drivers/sensors/t67xx.c: Fix trivial build failures caused by recent commits
This commit is contained in:
parent
591d0e7471
commit
c77e016ee8
@ -1333,7 +1333,7 @@ static void stm32l4_i2c_setclock(FAR struct stm32l4_i2c_priv_s *priv,
|
||||
#if defined(STM32L4_I2C_USE_HSI16) || (STM32L4_PCLK1_FREQUENCY == 16000000)
|
||||
i2cclk_mhz = 16;
|
||||
#elif STM32L4_PCLK1_FREQUENCY == 80000000
|
||||
i2cclk_mhz = 80
|
||||
i2cclk_mhz = 80;
|
||||
#elif STM32L4_PCLK1_FREQUENCY == 120000000
|
||||
i2cclk_mhz = 120;
|
||||
#else
|
||||
|
@ -52,7 +52,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "stm32l4_rcc.h"
|
||||
#include "hardware/stm32l4_dbgmcu.h"
|
||||
#include "stm32l4_dbgmcu.h"
|
||||
#include "stm32l4_wdg.h"
|
||||
|
||||
#if defined(CONFIG_WATCHDOG) && defined(CONFIG_STM32L4_IWDG)
|
||||
|
@ -180,7 +180,6 @@ static const struct file_operations g_t67xxfops =
|
||||
NULL, /* seek */
|
||||
t67xx_ioctl, /* ioctl */
|
||||
NULL /* poll */
|
||||
#endif
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
, NULL /* unlink */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user