修复代码错误

This commit is contained in:
nhkefus
2025-03-11 14:10:51 +08:00
parent a7f6e9379a
commit 3422912129
576 changed files with 39303 additions and 1012 deletions

View File

@@ -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
*/