From 720d72a7dc083835475f6cd3e82a1800d43a6671 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Wed, 15 Aug 2018 14:36:25 +0200
Subject: [PATCH] i2cbench: write benchmark

---
 src/app/i2cbench/main.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/app/i2cbench/main.cc b/src/app/i2cbench/main.cc
index 5825c0b..c9c2b70 100644
--- a/src/app/i2cbench/main.cc
+++ b/src/app/i2cbench/main.cc
@@ -44,11 +44,9 @@ void loop(void)
 	kout << endl;
 #endif
 #ifdef DRIVER_EEPROM24LC64
-	char buf[33];
 	static unsigned short page = 0;
-	eeprom24lc64.readPage(page, buf);
-	buf[32] = '\0';
-	kout << "Address " << page << ": " << buf << endl;
+	eeprom24lc64.writePage(page, "Hello, World! Und so weiter, lol");
+	kout << "Address " << page << endl;
 	page = (page + 32) % (256*32);
 #endif
 #ifdef DRIVER_MMSIMPLE
-- 
GitLab