diff --git a/Source Code/esprfidtool/esprfidtool.ino b/Source Code/esprfidtool/esprfidtool.ino
index 908eee7..5fd4122 100644
--- a/Source Code/esprfidtool/esprfidtool.ino
+++ b/Source Code/esprfidtool/esprfidtool.ino
@@ -86,7 +86,7 @@ String dataCONVERSION="";
WiegandNG wg;
-void LogWiegand(WiegandNG tempwg) {
+void LogWiegand(WiegandNG &tempwg) {
volatile unsigned char *buffer=tempwg.getRawData();
unsigned int bufferSize = tempwg.getBufferSize();
unsigned int countedBits = tempwg.getBitCounted();
@@ -691,7 +691,7 @@ void settingsPage()
"Experimental TX Wiegand Data Interval: millisecond(s)
"
"