FM
Dependencies: SimpleDMA eeprom mbed-rtos mbed FreescaleIAP
Fork of CDMS_CODE by
Diff: CDMS_HK.h
- Revision:
- 264:f7d8f9f361e3
- Parent:
- 261:1e54415b34d3
- Child:
- 268:ded5306a1fd1
diff -r 3b872778b8c7 -r f7d8f9f361e3 CDMS_HK.h --- a/CDMS_HK.h Thu Jul 14 19:54:27 2016 +0000 +++ b/CDMS_HK.h Thu Jul 14 23:05:09 2016 +0000 @@ -147,7 +147,12 @@ crc = crc16_gen(SC_HK_LBM_0,133); SC_HK_LBM_0[132] = crc; SC_HK_LBM_0[133] = crc >> 8; - FCTN_I2C_WRITE((char *)SC_HK_LBM_0,135); + bool y; + y = FCTN_I2C_WRITE((char *)SC_HK_LBM_0,135); + if(y == 0) + gPC.printf("long Bcn sent\n\r"); + else + gPC.printf("long Bcn not sent\r\n"); gPC.printf("\rCompleted Beacon\n"); gMutex.unlock(); }