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.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of COM_MNG_TMTC_SIMPLE_pl123 by
Diff: i2c.h
- Revision:
- 131:8745e6041ebc
- Parent:
- 130:d5b53088270b
--- a/i2c.h Sat Feb 27 07:12:04 2016 +0000
+++ b/i2c.h Sat Feb 27 10:22:40 2016 +0000
@@ -19,7 +19,7 @@
void FCTN_I2C_WRITE_PL(char *data2,uint8_t tc_len2)
{
write_ack = master.write(addr_pl|0x00,data2,tc_len2);//address to be defined in payload
- if(write_ack == 0)
+ if(write_ack == 1)
{
#if DEBUG
gPC.printf("\n\r data not sent \n");
