Expose functions for getting number of corrupt packets and total packets in Create class
This commit is contained in:
parent
bcd27b788a
commit
9cb3250268
5 changed files with 20 additions and 11 deletions
|
@ -239,11 +239,11 @@ namespace create {
|
|||
return send(&oc, 1);
|
||||
}
|
||||
|
||||
uint64_t Serial::getNumCorruptPackets() {
|
||||
uint64_t Serial::getNumCorruptPackets() const {
|
||||
return corruptPackets;
|
||||
}
|
||||
|
||||
uint64_t Serial::getNumTotalPackets() {
|
||||
uint64_t Serial::getTotalPackets() const {
|
||||
return totalPackets;
|
||||
}
|
||||
} // namespace create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue