Rev 936 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 936 | Rev 952 | ||
---|---|---|---|
Line 186... | Line 186... | ||
186 | } |
186 | } |
187 | else |
187 | else |
188 | { // data to last motor send |
188 | { // data to last motor send |
189 | motor_write = 0; // reset motor write counter |
189 | motor_write = 0; // reset motor write counter |
190 | } |
190 | } |
191 | I2C_Start(); // Repeated start -> switch salve or switch Master Transmit -> Master Receive |
191 | I2C_Start(); // Repeated start -> switch slave or switch Master Transmit -> Master Receive |
192 | break; |
192 | break; |
Line 193... | Line 193... | ||
193 | 193 | ||
194 | // Master Receive |
194 | // Master Receive |
195 | case 3: // Send SLA-R |
195 | case 3: // Send SLA-R |