From d11a97270604fa9c0c85ef46a7df9826e84e3e88 Mon Sep 17 00:00:00 2001
From: Fede85 <f.vanzati@gmail.com>
Date: Wed, 17 Jun 2015 16:39:53 +0200
Subject: [PATCH] fixed serial print alignment in USBHost/MouseController
 example

---
 libraries/USBHost/examples/MouseController/MouseController.ino | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/USBHost/examples/MouseController/MouseController.ino b/libraries/USBHost/examples/MouseController/MouseController.ino
index 5f90d59a..0cdeef67 100644
--- a/libraries/USBHost/examples/MouseController/MouseController.ino
+++ b/libraries/USBHost/examples/MouseController/MouseController.ino
@@ -55,9 +55,9 @@ void mousePressed() {
   }
   if (mouse.getButton(RIGHT_BUTTON)) {
     SERIAL_PORT_MONITOR.print("R");
-    SERIAL_PORT_MONITOR.println();
     rightButton = true;
   }
+  SERIAL_PORT_MONITOR.println();
 }
 
 // This function intercepts mouse button release
-- 
GitLab