]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/WhiteFox/scan_loop.c
Merge branch 'master' of github.com:kiibohd/controller
[kiibohd-controller.git] / Scan / WhiteFox / scan_loop.c
index 16cefa2d67b0d5e02c4d5b3f5e6502cd1825c1e1..56fa9959dfc6bfdd845d914c6c885fae34fc991b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2015 by Jacob Alexander
+/* Copyright (C) 2014-2016 by Jacob Alexander
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -90,3 +90,13 @@ inline void Scan_finishedWithOutput( uint8_t sentKeys )
        Scan_scanCount = 0;
 }
 
+
+// Signal from the Output Module that the available current has changed
+// current - mA
+void Scan_currentChange( unsigned int current )
+{
+       // Indicate to all submodules current change
+       Matrix_currentChange( current );
+       LED_currentChange( current );
+}
+