 	pinMode(ENCODER_SW, INPUT_PULLUP);
 }
 
-// TODO
-void testfillrect(void) {
-	uint8_t color = 1;
-	for (int16_t i = 0; i < display.height() / 2; i += 3) {
-		// alternate colors
-		display.fillRect(i, i, display.width() - i * 2, display.height() - i * 2, color % 2);
-		display.display();
-		delay(1);
-		color++;
-	}
-}
 void initialize_display() {
 	display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
 	display.clearDisplay();

#include "BMP085.h"
#include "Adafruit_GFX.h"
#include "Adafruit_SSD1306.h"

#define	SERIAL_STATUS_OUTPUT
#undef MEASURE_PREFORMANCE

	check_button();
	check_rotary_encoder();

	//if (rotenc.actualRotaryTicks == DISPLAY_SCR_WLAN_STATUS)
	//	display_struct.update_display = true;

	if (display_struct.update_display) {
		display_struct.update_display = false;
		update_display();
	}

#ifdef MEASURE_PREFORMANCE
	Serial.print("performance us: ");
	Serial.print(-perfStopWatch_getvalues);
