I2C test: master should send stop

it's master not slave that shall send STOP at the end of I2C transfer
pull/3488/head
Laurent MEUNIER 2016-12-19 11:32:18 +01:00
parent d67b431f17
commit bcf82b0901
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ int main()
slave.write(received);
received = master.read(0);
slave.stop();
master.stop();
notify_completion(received == sent);
}