Subversion Repositories HomeAutomation

Rev

Rev 1184 | Rev 1242 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1184 Rev 1240
Line 252... Line 252...
252
            break;
252
            break;
253
        case CAN_MODULE_CMD_GLOBAL_REPORT_INTERVAL:
253
        case CAN_MODULE_CMD_GLOBAL_REPORT_INTERVAL:
254
            if (rxMsg->Length > 0)
254
            if (rxMsg->Length > 0)
255
            {
255
            {
256
                act_softPWM_ReportInterval = rxMsg->Data[0];
256
                act_softPWM_ReportInterval = rxMsg->Data[0];
-
 
257
#ifdef act_softPWM_USEEEPROM
257
                eeprom_write_byte_crc(EEDATA.ReportInterval, act_softPWM_ReportInterval , WITH_CRC);
258
                eeprom_write_byte_crc(EEDATA.ReportInterval, act_softPWM_ReportInterval , WITH_CRC);
-
 
259
#endif
258
                Timer_SetTimeout(act_softPWM_SEND_TIMER, act_softPWM_ReportInterval*1000 , TimerTypeFreeRunning, 0);
260
                Timer_SetTimeout(act_softPWM_SEND_TIMER, act_softPWM_ReportInterval*1000 , TimerTypeFreeRunning, 0);
259
            }
261
            }
260
 
262
 
261
            StdCan_Msg_t txMsg;
263
            StdCan_Msg_t txMsg;
262
 
264