X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Scan%2FMD1.1%2Fscan_loop.c;h=3b2bad1514142debdf0363e9a6d386d87ea00a0a;hb=46765e85c57e19b89754f4f9c26c8f18b35148e5;hp=74218a0eed7751e0f9a8476533d0e80c01457515;hpb=1fd19c48eac0d7fd8834aa91783385c2844dca9a;p=kiibohd-controller.git diff --git a/Scan/MD1.1/scan_loop.c b/Scan/MD1.1/scan_loop.c index 74218a0..3b2bad1 100644 --- a/Scan/MD1.1/scan_loop.c +++ b/Scan/MD1.1/scan_loop.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2014,2016 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,6 +90,16 @@ inline void Scan_finishedWithOutput( uint8_t sentKeys ) } +// 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 ); +} + + // ----- Capabilities -----