mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 20:07:51 +02:00
Hide antenna select when SDR only has one antenna
This commit is contained in:
@ -132,7 +132,7 @@ public:
|
||||
#ifdef _WIN32
|
||||
send(sock, (char*)&cmd, sizeof(command_t), 0);
|
||||
#else
|
||||
write(sockfd, &cmd, sizeof(command_t));
|
||||
(void)write(sockfd, &cmd, sizeof(command_t));
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -140,7 +140,7 @@ public:
|
||||
#ifdef _WIN32
|
||||
recv(sock, (char*)buf, count, 0);
|
||||
#else
|
||||
read(sockfd, buf, count);
|
||||
(void)read(sockfd, buf, count);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user