- Fixed bugs in sinqhttp.c, most notatbly the unknown error on hm init

- Added first slit to amorset
- Added untested code for the POLDI strees machine
This commit is contained in:
koennecke
2006-11-24 15:52:51 +00:00
parent d01758de72
commit 8a1a808fe5
17 changed files with 591 additions and 88 deletions

View File

@@ -758,6 +758,12 @@ static void slsdspCodeToText(int code, char *text, int textlen){
int iRet, ival;
char msg[6], reply[6];
assert(self);
pMe = (pSLSDriv )self->pPrivate;
assert(pMe);
msg[0] = DSPWRITE;
msg[1] = 0x3c;
if(strcmp(pCommand,"off") == 0){
@@ -825,9 +831,6 @@ static void slsdspCodeToText(int code, char *text, int textlen){
try to switch device on
*/
msg[0] = DSPWRITE;
/* old device on
msg[1] = 0x31;
*/
msg[1] = 0x3c;
/*
* ival = 0: ausschalten
@@ -869,7 +872,6 @@ static void slsdspCodeToText(int code, char *text, int textlen){
memcpy(msg+2, &ival,4);
iRet = communicateSLS(pMe->pSock,msg,reply);
*/
NETClosePort(pMe->pSock);
pMe->pSock = NULL;
return 1;