]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/KType/scan_loop.c
Merge branch 'master' of github.com:kiibohd/controller
[kiibohd-controller.git] / Scan / KType / scan_loop.c
index 799985345825ec5b614755cbff9476e4641f5a9f..4e527066df6d204a9d5945b9a8407220b9d3fe32 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
@@ -97,3 +97,14 @@ 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
+       Connect_currentChange( current );
+       Matrix_currentChange( current );
+       LED_currentChange( current );
+}
+