mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-18 16:03:22 +08:00
修复代码错误
This commit is contained in:
@@ -166,15 +166,6 @@ typedef enum
|
||||
I2C_HIGH_SPEED_MODE /* 400Khz devices */
|
||||
} platform_i2c_speed_mode_t;
|
||||
|
||||
/**
|
||||
* GTimer mode
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
ONE_SHOT,
|
||||
PERIOIC,
|
||||
} platform_gtimer_mode_t;
|
||||
|
||||
/**
|
||||
* SPI slave transfer direction
|
||||
*/
|
||||
@@ -213,11 +204,6 @@ typedef enum
|
||||
*/
|
||||
typedef void (*platform_gpio_irq_callback_t)( void* arg );
|
||||
|
||||
/**
|
||||
* Gtimer interrupt callback handler
|
||||
*/
|
||||
typedef void (*platform_gtimer_irq_callback_t)( void* arg );
|
||||
|
||||
/******************************************************
|
||||
* Structures
|
||||
******************************************************/
|
||||
@@ -285,16 +271,6 @@ typedef struct
|
||||
uint32_t length;
|
||||
} platform_spi_message_segment_t;
|
||||
|
||||
/**
|
||||
* IIS message segment
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
const void* tx_buffer;
|
||||
void* rx_buffer;
|
||||
uint32_t length;
|
||||
} platform_iis_message_segment_t;
|
||||
|
||||
/**
|
||||
* I2C configuration
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user