From 079123b5c4c25a453ba4d3c6ffa1b5f9f39c5dad Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周六, 21 3月 2020 20:57:47 +0800
Subject: [PATCH] update docs

---
 src/library/hw_identifier/hw_identifier.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/library/hw_identifier/hw_identifier.cpp b/src/library/hw_identifier/hw_identifier.cpp
index 5c163e7..405310e 100644
--- a/src/library/hw_identifier/hw_identifier.cpp
+++ b/src/library/hw_identifier/hw_identifier.cpp
@@ -31,7 +31,7 @@
 
 HwIdentifier::HwIdentifier(const HwIdentifier& other) : m_data(other.m_data) {}
 
-void HwIdentifier::set_identification_strategy(LCC_API_IDENTIFICATION_STRATEGY strategy) {
+void HwIdentifier::set_identification_strategy(LCC_API_HW_IDENTIFICATION_STRATEGY strategy) {
 	if (strategy == STRATEGY_NONE || strategy == STRATEGY_DEFAULT) {
 		throw logic_error("Only known strategies are permitted");
 	}
@@ -73,9 +73,9 @@
 	return result.substr(0, result.size() - 1);
 }
 
-LCC_API_IDENTIFICATION_STRATEGY HwIdentifier::get_identification_strategy() const {
+LCC_API_HW_IDENTIFICATION_STRATEGY HwIdentifier::get_identification_strategy() const {
 	uint8_t stratMov = m_data[1] >> 5;
-	return static_cast<LCC_API_IDENTIFICATION_STRATEGY>(stratMov);
+	return static_cast<LCC_API_HW_IDENTIFICATION_STRATEGY>(stratMov);
 }
 
 bool HwIdentifier::data_match(const std::array<uint8_t, HW_IDENTIFIER_PROPRIETARY_DATA>& data) const {

--
Gitblit v1.9.1