From fea0923e440f394b09f9a060d8e5e3407fdf0413 Mon Sep 17 00:00:00 2001
From: Robert Geislinger <mitachundkrach@gmail.com>
Date: Thu, 12 Sep 2019 13:18:52 +0000
Subject: [PATCH] Update buttons.rst

---
 Documentation/pycardium/buttons.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/pycardium/buttons.rst b/Documentation/pycardium/buttons.rst
index 1119f700..77119fb7 100644
--- a/Documentation/pycardium/buttons.rst
+++ b/Documentation/pycardium/buttons.rst
@@ -21,10 +21,10 @@ in your scripts.
       if pressed != 0:
          break
 
-   if pressed & buttons.BOTTOM_LEFT != 0:
+   if pressed && buttons.BOTTOM_LEFT != 0:
       print("Left button pressed!")
 
-   if pressed & buttons.BOTTOM_RIGHT != 0:
+   if pressed && buttons.BOTTOM_RIGHT != 0:
       print("Right button pressed!")
 
 .. py:function:: read(mask)
-- 
GitLab