Explorar el Código

move type to virtual portal

Sanjay Govind hace 11 meses
padre
commit
444e1fddb1
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      virtual_portal.c

+ 1 - 5
virtual_portal.c

@@ -124,11 +124,7 @@ int virtual_portal_reset(VirtualPortal* virtual_portal, uint8_t* message, uint8_
     uint8_t index = 0;
     uint8_t index = 0;
     response[index++] = 'R';
     response[index++] = 'R';
     response[index++] = 0x02;
     response[index++] = 0x02;
-    if (virtual_portal->type == PoFHid) {
-        response[index++] = 0x19;
-    } else {
-        response[index++] = 0x1B;
-    }
+    response[index++] = 0x1B;
     //response[index++] = 0x0a;
     //response[index++] = 0x0a;
     //response[index++] = 0x03;
     //response[index++] = 0x03;
     //response[index++] = 0x02;
     //response[index++] = 0x02;