- Driver for the Risoe Temperature controller
- HM is now working - display code added
This commit is contained in:
8
tdchm.c
8
tdchm.c
@@ -486,7 +486,13 @@ static int TDCGetHistogram(pHistDriver self, SConnection *pCon,
|
||||
return HWFault;
|
||||
}
|
||||
|
||||
address = 0;
|
||||
address = (unsigned short)iStart;
|
||||
/*
|
||||
this is a fix because the TDC cannot send more then 64KB
|
||||
*/
|
||||
if(length >= 16384){
|
||||
length = 16383;
|
||||
}
|
||||
byteCount = length *4;
|
||||
status = ecbDMARead(tdc->tdc,address,pData,byteCount);
|
||||
if(status != 1){
|
||||
|
||||
Reference in New Issue
Block a user