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: Fota/Fragmentation/FragmentationMath.h
- Revision:
- 67:a9d4d7cdeca1
- Parent:
- 66:baa0f3116f1d
- Child:
- 68:5f787643e7d7
diff -r baa0f3116f1d -r a9d4d7cdeca1 Fota/Fragmentation/FragmentationMath.h --- a/Fota/Fragmentation/FragmentationMath.h Tue Apr 23 08:51:10 2019 -0500 +++ b/Fota/Fragmentation/FragmentationMath.h Wed May 01 09:18:46 2019 -0500 @@ -8,7 +8,7 @@ #define FRAG_SESSION_ONGOING 0xffffffff #ifndef MAX_PARITY -#define MAX_PARITY 400 +#define MAX_PARITY 300 #endif class FragmentationMath { @@ -30,7 +30,7 @@ void StoreRowInFlash(uint8_t *rowData, int index); void XorLineData(uint8_t *dataL1, uint8_t *dataL2, int size); void XorLineBit(uint8_t *dataL1, uint8_t *dataL2, int size); - void XorRowWithMatrix(uint8_t* row, int matrix_row_num); + void XorRowWithMatrix(uint8_t* row, int matrix_row_num); void FragmentationGetParityMatrixRow(int N, int M, uint8_t *matrixRow); void CondenseRow(uint8_t *row, int row_number, int start); void ExpandAndXorRow(uint8_t *row, int row_number); @@ -38,7 +38,7 @@ void CompleteRow(int row_num); void printMatrix(); - uint8_t _frame_size; + uint8_t _frame_size; uint16_t _frame_count; uint16_t _max_parity; uint16_t numFramesMissing;