]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/MD1.1/scan_loop.c
Merge branch 'master' of github.com:kiibohd/controller
[kiibohd-controller.git] / Scan / MD1.1 / scan_loop.c
index 74218a0eed7751e0f9a8476533d0e80c01457515..3b2bad1514142debdf0363e9a6d386d87ea00a0a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014,2016 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,6 +90,16 @@ inline void Scan_finishedWithOutput( uint8_t sentKeys )
 }
 
 
+// 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 );
+}
+
+
 
 // ----- Capabilities -----