changeset 364:5aa3f6a92682

Fixing typo on range check for MDErgo1
author Jacob Alexander <haata@kiibohd.com>
date Sun, 16 Aug 2015 15:53:07 -0700
parents 28ea37f4075b
children dbe0dbd7e2dd
files Macro/PartialMap/macro.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Macro/PartialMap/macro.c	Sun Aug 16 14:46:26 2015 -0700
+++ b/Macro/PartialMap/macro.c	Sun Aug 16 15:53:07 2015 -0700
@@ -470,7 +470,7 @@
 	}
 
 	// Check if ScanCode is out of range
-	if ( scanCode > MaxScanCode )
+	if ( trigger->scanCode > MaxScanCode )
 	{
 		warn_msg("ScanCode is out of range/not defined - ");
 		error = 1;