From b9c2a046994396569efd05848dff3bab6f9b869c Mon Sep 17 00:00:00 2001 From: Spencer Chen Date: Wed, 16 Nov 2022 15:36:53 +0800 Subject: [PATCH] change function name --- src/VescUart.cpp | 6 +++--- src/VescUart.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/VescUart.cpp b/src/VescUart.cpp index fb627e1..11bada9 100644 --- a/src/VescUart.cpp +++ b/src/VescUart.cpp @@ -568,9 +568,9 @@ void VescUart::printCustomValues() * @return true * @return false */ -bool VescUart::getCustomValues() +bool VescUart::updateCustomValues() { - return getCustomValues(0); + return updateCustomValues(0); } @@ -591,7 +591,7 @@ bool VescUart::getCustomValues() * @return true * @return false */ -bool VescUart::getCustomValues(uint8_t canId) +bool VescUart::updateCustomValues(uint8_t canId) { if (debugPort != NULL) { diff --git a/src/VescUart.h b/src/VescUart.h index 9d90d63..42ccbec 100644 --- a/src/VescUart.h +++ b/src/VescUart.h @@ -211,14 +211,14 @@ class VescUart * @brief get the balance data * */ -bool getCustomValues( uint8_t canId); +bool updateCustomValues( uint8_t canId); /** * @brief Get the Custom Config object * * @return true * @return false */ -bool getCustomValues( ); +bool updateCustomValues( );