# HG changeset patch # User CryHam # Date 1456862423 -3600 # Node ID 971e88d4420af00900c77308533e525b6a5db236 # Parent 0d1cc6ec4af7a581f0c593fef27a4626397d867d Updated CK3 with Scan_currentChange (copy from MD1). diff -r 0d1cc6ec4af7 -r 971e88d4420a Scan/CK3/scan_loop.c --- a/Scan/CK3/scan_loop.c Tue Mar 01 19:40:00 2016 +0100 +++ b/Scan/CK3/scan_loop.c Tue Mar 01 21:00:23 2016 +0100 @@ -175,6 +175,15 @@ } +// 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 ----- diff -r 0d1cc6ec4af7 -r 971e88d4420a Scan/CK3/scan_loop.h --- a/Scan/CK3/scan_loop.h Tue Mar 01 19:40:00 2016 +0100 +++ b/Scan/CK3/scan_loop.h Tue Mar 01 21:00:23 2016 +0100 @@ -38,6 +38,8 @@ void Scan_finishedWithMacro( uint8_t sentKeys ); // Called by Macro Module void Scan_finishedWithOutput( uint8_t sentKeys ); // Called by Output Module +void Scan_currentChange( unsigned int current ); // Called by Output Module + // ----- Capabilities -----