]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Fixing typo on range check for MDErgo1
authorJacob Alexander <haata@kiibohd.com>
Sun, 16 Aug 2015 22:53:07 +0000 (15:53 -0700)
committerJacob Alexander <haata@kiibohd.com>
Sun, 16 Aug 2015 22:53:07 +0000 (15:53 -0700)
Macro/PartialMap/macro.c

index 8cebce4bf4332b33f27a084665956427f79f7844..f6c70eda47d838dfaca17dcac01299094fd89c97 100644 (file)
@@ -470,7 +470,7 @@ inline void Macro_interconnectAdd( void *trigger_ptr )
        }
 
        // 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;