Changeset 318 for trunk/Software/rs.h
- Timestamp:
- 06/07/09 03:21:28 (3 years ago)
- Location:
- trunk/Software
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Software
-
Property
svn:mergeinfo
set to
/branches/yfe_code_review merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/Software/rs.h
r297 r318 33 33 #define PreFrameSync3 0x33 34 34 #define PreFrameSync4 0x5a 35 static const char PROGMEM PFSYNC[4] = {0xf0,0xcc,0x33,0x5a};35 extern const char PROGMEM PFSYNC[]; 36 36 37 37 … … 59 59 extern volatile char rs_dpos; 60 60 extern volatile char rs_ppos; 61 extern volatile char rs_errcnt; 61 extern volatile int rs_errcnt; 62 extern volatile int rs_merrcnt; 62 63 extern volatile char rs_offset; 63 64 65 extern volatile char dump[]; // DEBUG 66 extern volatile char dumppos; 67 extern volatile char txdump[]; // DEBUG 68 extern volatile char txdumppos; 64 69 65 70 #define A0 1 … … 103 108 char rs_decode_head(char head_buffer[],char head_parity[]); 104 109 char rs_decode_msg(char msg_buffer[],char msg_parity[],char len); 110 int rs_decode(char R[], char parity[], char offset, char valid_symbols); 105 111 106 112 char gf2mult(char a, char b); 107 113 108 114 char find_sync(char sync[]); 109 115 int crc16_update(uint16_t crc, uint8_t data); 110 116 111 117 #endif //RS_H
Note: See TracChangeset
for help on using the changeset viewer.
