X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Scan%2FWhiteFox%2Fscan_loop.c;h=56fa9959dfc6bfdd845d914c6c885fae34fc991b;hb=46765e85c57e19b89754f4f9c26c8f18b35148e5;hp=16cefa2d67b0d5e02c4d5b3f5e6502cd1825c1e1;hpb=59c14fcdea7403288dab85b64b66c6daaa8404fc;p=kiibohd-controller.git diff --git a/Scan/WhiteFox/scan_loop.c b/Scan/WhiteFox/scan_loop.c index 16cefa2..56fa995 100644 --- a/Scan/WhiteFox/scan_loop.c +++ b/Scan/WhiteFox/scan_loop.c @@ -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 ); +} +