Added additional documentation

This commit is contained in:
EricLiu2000
2019-06-14 17:44:01 -04:00
parent a4a42c8704
commit 04a2402925
2 changed files with 16 additions and 5 deletions
-2
View File
@@ -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);