Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
Diff: struct.h
- Revision:
- 31:0f67acfc6236
- Parent:
- 22:ffa88619551d
- Child:
- 44:05dbea558c9a
--- a/struct.h Sat Jul 08 12:06:16 2017 +0000 +++ b/struct.h Sat Jul 15 05:39:45 2017 +0000 @@ -87,8 +87,11 @@ void sendlast(); void send_data_str1(); void send_data_str2(uint8_t check_sum); -uint8_t checksum(uint32_t *v1); +//uint8_t checksum(uint32_t *v1); uint8_t checksum_init();; uint8_t checksum_last(); -uint8_t checksum_struct(); +//uint8_t checksum_struct(); + +uint8_t checksum_struct(const uint8_t data[], uint16_t numBytes) ; +uint8_t checksum(const uint8_t data[], uint32_t numBytes) ; #endif \ No newline at end of file