瀏覽代碼

Updated CK3 with Scan_currentChange (copy from MD1).

capsense
CryHam 8 年之前
父節點
當前提交
602b482538
共有 2 個文件被更改,包括 11 次插入0 次删除
  1. 9
    0
      Scan/CK3/scan_loop.c
  2. 2
    0
      Scan/CK3/scan_loop.h

+ 9
- 0
Scan/CK3/scan_loop.c 查看文件

@@ -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 -----


+ 2
- 0
Scan/CK3/scan_loop.h 查看文件

@@ -38,6 +38,8 @@ uint8_t Scan_loop( void );
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 -----