Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: max7300.cpp
- Revision:
- 5:c4d2978bdebb
- Parent:
- 4:4ffbd5539b69
- Child:
- 6:3674af0a03cf
diff -r 4ffbd5539b69 -r c4d2978bdebb max7300.cpp
--- a/max7300.cpp Fri Jul 24 01:54:41 2015 +0000
+++ b/max7300.cpp Fri Aug 14 04:26:02 2015 +0000
@@ -153,7 +153,7 @@
if(!result)
{
//get current port configuration register
- result = _p_i2c->read(_w_adrs, (data + 1), 1, true);
+ result = _p_i2c->read(_w_adrs, (data + 1), 1, false);
if(!result)
{
@@ -391,7 +391,7 @@
if(!result)
{
//get current configuration register
- result = _p_i2c->read(_w_adrs, (local_data + 1), 1, true);
+ result = _p_i2c->read(_w_adrs, (local_data + 1), 1, false);
if(!result)
{