Skip to content

Commit

Permalink
Merge pull request #4 from Thorbane/master
Browse files Browse the repository at this point in the history
Edit delay for presence pulse check
  • Loading branch information
Jacajack authored Nov 27, 2018
2 parents 97da352 + 9f6dc9e commit 5ff85a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onewire.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ uint8_t onewireInit( volatile uint8_t *port, volatile uint8_t *direction, volati

*direction &= ~mask; //Set port to input

_delay_us( 100 );
_delay_us( 70 );

response = *portin & mask; //Read input

Expand Down

0 comments on commit 5ff85a6

Please sign in to comment.