Skip to content

Commit

Permalink
Update the i2c gas write status check retry times
Browse files Browse the repository at this point in the history
to 200.
  • Loading branch information
kelvin-cao committed Oct 17, 2019
1 parent 43f9776 commit c7ce7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/platform/linux-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct switchtec_i2c {
#define CMD_GAS_READ 0xE9

#define MAX_RETRY_COUNT 100
#define MAX_STATUS_GET_RETRY 25
#define MAX_STATUS_GET_RETRY 200
#define PEC_BYTE_COUNT 1
#define TWI_ENHANCED_MODE 0x80
#define GAS_TWI_MRPC_ERR 0x20
Expand Down

0 comments on commit c7ce7fc

Please sign in to comment.