Rev 811 | Rev 841 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 811 | Rev 840 | ||
|---|---|---|---|
| Line 123... | Line 123... | ||
| 123 | } |
123 | } |
| 124 | } |
124 | } |
| 125 | } |
125 | } |
| 126 | #endif |
126 | #endif |
| 127 | #if defined(USE_TC1047) |
127 | #if defined(USE_TC1047) |
| 128 | |
128 | #warning tc1047 id is still not correct // FIXME |
| 129 | /* check temperature and send on CAN */ |
129 | /* check temperature and send on CAN */ |
| 130 | if( bios->timebase_get() - timeStamp_TC >= TC_SEND_PERIOD ){ |
130 | if( bios->timebase_get() - timeStamp_TC >= TC_SEND_PERIOD ){ |
| 131 | timeStamp_TC = bios->timebase_get(); |
131 | timeStamp_TC = bios->timebase_get(); |
| 132 | 132 | ||
| 133 | tcTemperature = getTC1047temperature(TC1047_AD); |
133 | tcTemperature = getTC1047temperature(TC1047_AD); |