Rev 1910 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1910 | Rev 1978 | ||
|---|---|---|---|
| Line 15... | Line 15... | ||
| 15 | } chn_ChnMaster_buffer[ chn_ChnMaster_BUFFER_SIZE ]; |
15 | } chn_ChnMaster_buffer[ chn_ChnMaster_BUFFER_SIZE ]; |
| 16 | 16 | ||
| 17 | volatile uint8_t chn_ChnMaster_buf_in_pos = 0; // next to write |
17 | volatile uint8_t chn_ChnMaster_buf_in_pos = 0; // next to write |
| 18 | volatile uint8_t chn_ChnMaster_buf_out_pos = 0; // next to read |
18 | volatile uint8_t chn_ChnMaster_buf_out_pos = 0; // next to read |
| 19 | 19 | ||
| 20 | |
20 | #if chn_ChnMaster_USEEEPROM==1 |
| 21 | #include "chn_ChnMaster_eeprom.h" |
21 | #include "chn_ChnMaster_eeprom.h" |
| 22 | struct eeprom_chn_ChnMaster EEMEM eeprom_chn_ChnMaster = |
22 | struct eeprom_chn_ChnMaster EEMEM eeprom_chn_ChnMaster = |
| 23 | { |
23 | { |
| 24 | { |
24 | { |
| 25 | ///TODO: Define initialization values on the EEPROM variables here, this will generate a *.eep file that can be used to store this values to the node, can in future be done with a EEPROM module and the make-scrips. Write the values in the exact same order as the struct is defined in the *.h file. |
25 | ///TODO: Define initialization values on the EEPROM variables here, this will generate a *.eep file that can be used to store this values to the node, can in future be done with a EEPROM module and the make-scrips. Write the values in the exact same order as the struct is defined in the *.h file. |