#include #include "misc.h" /* Conveting bit array to a int byte */ CPU_UNINT ConvertBitToByte(CPU_BYTE *bit) { CPU_UNINT Byte = 0; CPU_UNINT t; CPU_UNINT size = 15; for(t=size;t>0;t--) { if (bit[size-t] != 2) Byte = Byte + (bit[size-t]<0;t--) { if (bit[size-t] == 2) { MaskByte = MaskByte + ( (bit[size-t]-1) <0;t--) { if (bit[size-t] != 2) Byte = Byte + (bit[size-t]<0;t--) { if (bit[size-t] == 2) { MaskByte = MaskByte + ( (bit[size-t]-1) <