Rev 1519 | Rev 1910 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1519 | Rev 1797 | ||
|---|---|---|---|
| Line 236... | Line 236... | ||
| 236 | 236 | ||
| 237 | } |
237 | } |
| 238 | 238 | ||
| 239 | void act_output_Process(void) |
239 | void act_output_Process(void) |
| 240 | { |
240 | { |
| - | 241 | #ifdef act_output_USEEEPROM |
|
| 241 | if (Timer_Expired(act_output_STORE_VALUE_TIMEOUT)) |
242 | if (Timer_Expired(act_output_STORE_VALUE_TIMEOUT)) |
| 242 | { |
243 | { |
| 243 | uint8_t index = 0; |
244 | uint8_t index = 0; |
| 244 | #ifdef act_output_CH0 |
245 | #ifdef act_output_CH0 |
| 245 | eeprom_write_byte_crc(EEDATA.ch0, chnValue[index], WITHOUT_CRC); |
246 | eeprom_write_byte_crc(EEDATA.ch0, chnValue[index], WITHOUT_CRC); |
| Line 281... | Line 282... | ||
| 281 | eeprom_write_byte_crc(EEDATA.ch9, chnValue[index], WITHOUT_CRC); |
282 | eeprom_write_byte_crc(EEDATA.ch9, chnValue[index], WITHOUT_CRC); |
| 282 | index++; |
283 | index++; |
| 283 | #endif |
284 | #endif |
| 284 | EEDATA_UPDATE_CRC; |
285 | EEDATA_UPDATE_CRC; |
| 285 | } |
286 | } |
| - | 287 | #endif |
|
| - | 288 | ||
| 286 | } |
289 | } |
| 287 | 290 | ||
| 288 | void act_output_HandleMessage(StdCan_Msg_t *rxMsg) |
291 | void act_output_HandleMessage(StdCan_Msg_t *rxMsg) |
| 289 | { |
292 | { |
| 290 | if ( StdCan_Ret_class(rxMsg->Header) == CAN_MODULE_CLASS_ACT && |
293 | if ( StdCan_Ret_class(rxMsg->Header) == CAN_MODULE_CLASS_ACT && |