Rev 517 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 517 | Rev 518 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | if ((SLAVE_SELECT_PORT & (1 << SPI_SLAVE_SELECT)) == 0) return; // transfer of prev. packet not completed |
24 | if ((SLAVE_SELECT_PORT & (1 << SPI_SLAVE_SELECT)) == 0) return; // transfer of prev. packet not completed |
Line 25... | Line 25... | ||
25 | 25 | ||
26 | SLAVE_SELECT_PORT &= ~(1 << SPI_SLAVE_SELECT); // SelectSlave |
26 | SLAVE_SELECT_PORT &= ~(1 << SPI_SLAVE_SELECT); // SelectSlave |
27 | UpdateSPI_Buffer(); // update buffer |
27 | UpdateSPI_Buffer(); // update buffer |
28 | SPI_BufferIndex = 1; |
28 | SPI_BufferIndex = 1; |
29 | DebugOut.Analog[16]++; |
29 | //DebugOut.Analog[16]++; |
30 | // -- Debug-Output --- |
30 | // -- Debug-Output --- |
31 | cli(); |
31 | cli(); |
32 | DebugOut.Analog[20] = FromNaviCtrl.Comp; |
32 | // DebugOut.Analog[20] = FromNaviCtrl.Comp; |
33 | DebugOut.Analog[21] = FromNaviCtrl.GPS_Nick; |
33 | //DebugOut.Analog[21] = FromNaviCtrl.GPS_Nick; |
34 | DebugOut.Analog[22] = FromNaviCtrl.GPS_Roll; |
34 | //DebugOut.Analog[22] = FromNaviCtrl.GPS_Roll; |
35 | DebugOut.Analog[23] = FromNaviCtrl.CompassValue; |
35 | //DebugOut.Analog[23] = FromNaviCtrl.CompassValue; |
Line 36... | Line 36... | ||
36 | sei(); |
36 | sei(); |
37 | 37 |