Fixed behavior in coke (maybe)
[tpg/opendispense2.git] / src / server / handler_coke.c
index ad5387f..abd3506 100644 (file)
@@ -70,8 +70,6 @@ int Coke_CanDispense(int User, int Item)
        // Ask the coke machine
        sprintf(tmp, "s%i\r\n", Item);
        write(giCoke_SerialFD, tmp, 4);
-       
-       WaitForColon();
 
        ret = ReadLine(sizeof(tmp)-1, tmp);
        printf("ret = %i, tmp = '%s'\n", ret, tmp);

UCC git Repository :: git.ucc.asn.au