Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
orgua committed Sep 26, 2016
1 parent 735579a commit 68097fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/debug/nanoseconds_delay/nanoseconds_delay.ino
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void setup()
DIRECT_WRITE_LOW(debug_baseReg, debug_bitMask);
DIRECT_MODE_OUTPUT(debug_baseReg, debug_bitMask);

// measurement with logic analyzer was fine!
// measurement with logic analyzer was fine!

{ // just delay
DIRECT_WRITE_HIGH(debug_baseReg, debug_bitMask);
Expand Down
3 changes: 3 additions & 0 deletions src/OneWireHub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ bool OneWireHub::recvAndProcessCmd(void)
case 0x3C: // overdrive SKIP ROM
overdrive_mode = true;
case 0xCC: // SKIP ROM
// NOTE: If more than one slave is present on the bus,
// and a read command is issued following the Skip ROM command,
// data collision will occur on the bus as multiple slaves transmit simultaneously
slave_selected = nullptr;

for (uint8_t i = 0; i < ONEWIRESLAVE_LIMIT; ++i)
Expand Down

0 comments on commit 68097fc

Please sign in to comment.