X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Funi-t-ut32x%2Fprotocol.c;h=6e04dd9b9038731f0e26b0f1d608f1912abff3f9;hb=HEAD;hp=3614eda710a87ebbed9f1bdcc424358aa1f1eade;hpb=6513f97fbe18ba1f4a093e882b0d19284234b8b3;p=libsigrok.git diff --git a/hardware/uni-t-ut32x/protocol.c b/hardware/uni-t-ut32x/protocol.c deleted file mode 100644 index 3614eda7..00000000 --- a/hardware/uni-t-ut32x/protocol.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * This file is part of the libsigrok project. - * - * Copyright (C) 2013 Bert Vermeulen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include "protocol.h" - -SR_PRIV int uni_t_ut32x_handle_events(int fd, int revents, void *cb_data) -{ - (void)fd; - - const struct sr_dev_inst *sdi; - struct dev_context *devc; - - if (!(sdi = cb_data)) - return TRUE; - - if (!(devc = sdi->priv)) - return TRUE; - - if (revents == G_IO_IN) { - /* TODO */ - } - - return TRUE; -} - -SR_PRIV void uni_t_ut32x_receive_transfer(struct libusb_transfer *transfer) -{ - -} -