Преглед изворни кода

move type to virtual portal

Sanjay Govind пре 11 месеци
родитељ
комит
444e1fddb1
1 измењених фајлова са 1 додато и 5 уклоњено
  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;
     response[index++] = 'R';
     response[index++] = 0x02;
-    if (virtual_portal->type == PoFHid) {
-        response[index++] = 0x19;
-    } else {
-        response[index++] = 0x1B;
-    }
+    response[index++] = 0x1B;
     //response[index++] = 0x0a;
     //response[index++] = 0x03;
     //response[index++] = 0x02;