-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Size optimizations for Golay decoder and code/file cleanup
(~242 byte arm library for decode)
- Loading branch information
Showing
7 changed files
with
56 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
!*/ | ||
|
||
*.o | ||
|
||
private |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
#ifndef REF_ENCDEC_H | ||
#define REF_ENCDEC_H | ||
|
||
#define DECODER_ONLY 1 | ||
|
||
uint8_t golay_decode(uint32_t *cw, uint8_t *errs); | ||
//uint32_t syndrome(uint32_t cw); | ||
|
||
#if (DECODER_ONLY == 0) | ||
uint32_t golay_encode(uint32_t cw); | ||
#endif | ||
|
||
#endif |
File renamed without changes.