Skip to content

twi_status clockCount wrong usage ?? #4063

Closed
@miky2k

Description

@miky2k

while (SDA_READ()==0 && clockCount>0){

should be

while (SDA_READ()==0 && clockCount-->0){

i feel that clockCount should be 10 not 20 (eight bit + ack + stop)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions