Skip to content

Commit

Permalink
IIC,修了一下类型
Browse files Browse the repository at this point in the history
  • Loading branch information
VinbeWan committed Dec 8, 2024
1 parent b55a38d commit ee952c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/driver/iic_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bool crc_check(IIC_Data *frame) {
}
}

int iic_data_transfer(IIC_Data *frame) {
unsigned int iic_data_transfer(IIC_Data *frame) {

unsigned int *data = frame->data;
if (crc_check(frame)) {
Expand Down
2 changes: 1 addition & 1 deletion src/include/iic_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ typedef struct {

void iic_init(void);
bool crc_check(IIC_Data *frame);
uint32_t iic_data_transfer(IIC_Data *frame);
unsigned int iic_data_transfer(IIC_Data *frame);
void iic_start(pci_device_t *IIC_Device);
void iic_stop(pci_device_t *IIC_Device);

0 comments on commit ee952c0

Please sign in to comment.