This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== modified file 'common/draw_panel.cpp' | |
--- common/draw_panel.cpp 2015-03-03 12:41:43 +0000 | |
+++ common/draw_panel.cpp 2015-03-06 17:28:10 +0000 | |
@@ -927,16 +927,16 @@ | |
bool offCenterReq = event.ControlDown() && event.ShiftDown(); | |
offCenterReq = offCenterReq || m_enableZoomNoCenter; | |
-#if wxMAJOR_VERSION >= 2 && wxMINOR_VERSION >= 9 | |
+//#if wxMAJOR_VERSION >= 2 && wxMINOR_VERSION >= 9 | |
int axis = event.GetWheelAxis(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------------------------------------------------- | |
// Schreibt/liest ein Byte ueber den Hardware SPI Bus | |
uint8_t spi_putc( uint8_t data ) | |
{ | |
// put byte in send-buffer | |
SPDR = reverse_byte(data); // Reverse byte flips the bits in the byte to simulate a MSB SPI_mode | |
// wait until byte was send | |
while( !( SPSR & (1<<SPIF) ) ) |