- zketech_ebd_usb_init(serial, devc);
- int ret = zketech_ebd_usb_read_chars(serial, MSGLEN, reply);
- if (ret != MSGLEN || reply[MSGFRAMEBEGINPOS] != MSGFRAMEBEGIN \
- || reply[MSGFRAMEENDPOS] != MSGFRAMEEND) {
+ ebd_init(serial, devc);
+ int ret = ebd_read_chars(serial, MSG_LEN, reply);
+ if (ret != MSG_LEN || reply[MSG_FRAME_BEGIN_POS] != MSG_FRAME_BEGIN \
+ || reply[MSG_FRAME_END_POS] != MSG_FRAME_END) {