]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/MD1/scan_loop.c
Adding dynamic USB power support
[kiibohd-controller.git] / Scan / MD1 / scan_loop.c
index 22d43c2a26987586abe48c2f6c1d73cb40dd6c21..d9348e17d1cd4e26818e4e0c91ca07d4aa2b321a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014 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
@@ -175,6 +175,15 @@ void CustomAction_blockKey_capability( uint8_t state, uint8_t stateType, uint8_t
 }
 
 
+// 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 );
+}
+
+
 
 // ----- CLI Command Functions -----