diff --git a/lib/App/3dSERVER/LRF_Kernel.cpp b/lib/App/3dSERVER/LRF_Kernel.cpp index 2b8685e6..04850d82 100644 --- a/lib/App/3dSERVER/LRF_Kernel.cpp +++ b/lib/App/3dSERVER/LRF_Kernel.cpp @@ -716,7 +716,11 @@ thresholdNode *LRF_Kernel::getTreshold( uint32_t &size, uint8_t kID ){ if( m_pHardwareManager!= NULL ) { thresholdNode *ptr; ptr = m_pHardwareManager->getWorkingMemory(); +#ifdef TH_PER_MIRROR + kID = (kID>39)?39:kID; +#else kID = (kID>15)?15:kID; +#endif if( ptr!= NULL ){ m_nThresholdSize = TH_SIZE_NODES; if( m_pThreshold == NULL ) { diff --git a/put_to_git b/put_to_git index 1b3a2ea6..20767913 100755 --- a/put_to_git +++ b/put_to_git @@ -1,4 +1,4 @@ #!/bin/bash #git commit -a -m '$1' -git commit -a -m '3DServer tart changes to mirror th' +git commit -a -m 'LRF_Kernel to make Flip with 32 TH zones'