equal
deleted
inserted
replaced
253 } |
253 } |
254 |
254 |
255 #ifdef ECAT_CYCLIC_DATA |
255 #ifdef ECAT_CYCLIC_DATA |
256 printk("Starting cyclic sample thread.\n"); |
256 printk("Starting cyclic sample thread.\n"); |
257 |
257 |
258 schedule(); |
|
259 mdelay(1000); |
|
260 schedule(); |
|
261 init_timer(&timer); |
258 init_timer(&timer); |
262 |
259 |
263 timer.function = run; |
260 timer.function = run; |
264 timer.data = 0; |
261 timer.data = 0; |
265 timer.expires = jiffies+10; // Das erste Mal sofort feuern |
262 timer.expires = jiffies+10; // Das erste Mal sofort feuern |