Mercurial > louis > kiibohd-controller
changeset 425:971e88d4420a
Updated CK3 with Scan_currentChange (copy from MD1).
author | CryHam <cryham@gmail.com> |
---|---|
date | Tue, 01 Mar 2016 21:00:23 +0100 |
parents | 0d1cc6ec4af7 |
children | 64d1057661f3 |
files | Scan/CK3/scan_loop.c Scan/CK3/scan_loop.h |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 -----
--- 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 -----