mirror of https://github.com/ARMmbed/mbed-os.git
I2C test: master should send stop
it's master not slave that shall send STOP at the end of I2C transferpull/3488/head
parent
d67b431f17
commit
bcf82b0901
|
@ -106,7 +106,7 @@ int main()
|
|||
|
||||
slave.write(received);
|
||||
received = master.read(0);
|
||||
slave.stop();
|
||||
master.stop();
|
||||
notify_completion(received == sent);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue