Просмотр исходного кода

Makes select_comm of HM330X private (#19)

Marcin Jahn 2 лет назад
Родитель
Сommit
4e80ee7168
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      src/Seeed_HM330X.h

+ 4 - 3
src/Seeed_HM330X.h

@@ -6,7 +6,8 @@
     Website    : www.seeed.cc
     Author     : downey
     Create Time: August 2018
-    Change Log :
+    Change Log : 
+      21st December 2022 by Marcin Jahn - Make the `select_comm` method private
 
     The MIT License (MIT)
 
@@ -47,10 +48,10 @@ class HM330X : public I2COperations {
 
     HM330XErrorCode init();
 
-    HM330XErrorCode select_comm();
-
     HM330XErrorCode read_sensor_value(uint8_t* data, uint32_t data_len);
 
+  private:
+    HM330XErrorCode select_comm();
 };