mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Added additional documentation
This commit is contained in:
@@ -104,7 +104,6 @@ std::vector<std::shared_ptr<Message>> Device::getMessages() {
|
||||
}
|
||||
|
||||
bool Device::getMessages(std::vector<std::shared_ptr<Message>>& container, size_t limit, std::chrono::milliseconds timeout) {
|
||||
|
||||
// not open
|
||||
if(!isOpen()) {
|
||||
err(APIError::DeviceCurrentlyClosed);
|
||||
@@ -235,7 +234,6 @@ bool Device::goOffline() {
|
||||
}
|
||||
|
||||
bool Device::transmit(std::shared_ptr<Message> message) {
|
||||
|
||||
// not open
|
||||
if(!isOpen()) {
|
||||
err(APIError::DeviceCurrentlyClosed);
|
||||
|
||||
Reference in New Issue
Block a user