Update cul driver EOL.

pull/540/head
Fredrik Öhrström 2022-04-29 08:38:09 +02:00
rodzic 098671510d
commit 368fe7a823
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
Copyright (C) 2019-2020 Fredrik Öhrström (gpl-3.0-or-later) Copyright (C) 2019-2022 Fredrik Öhrström (gpl-3.0-or-later)
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
@ -410,8 +410,8 @@ AccessCheck detectCUL(Detected *detected, shared_ptr<SerialCommunicationManager>
// get the version string: "V 1.67 nanoCUL868" or similar // get the version string: "V 1.67 nanoCUL868" or similar
vector<uchar> msg(3); vector<uchar> msg(3);
msg[0] = CMD_GET_VERSION; // V msg[0] = CMD_GET_VERSION; // V
msg[1] = 0x0a; msg[1] = 0x0d;
msg[2] = 0x0d; msg[2] = 0x0a;
bool ok = serial->send(msg); bool ok = serial->send(msg);
if (!ok) if (!ok)