Revert "Explicitly set active mode for PM sensor upon initialization"

This reverts commit 0d39643e76.
This commit is contained in:
nick-4711
2024-09-15 08:23:32 +07:00
parent 0d39643e76
commit 90f336dee7
6 changed files with 21 additions and 35 deletions
+5 -2
View File
@@ -38,11 +38,14 @@ bool PMS5003::begin(HardwareSerial &serial) {
PMS5003::PMS5003(BoardType def) : _boardDef(def) {}
/**
* Initializes the sensor.
* @brief Init sensor
*
* @return true Success
* @return false Failure
*/
bool PMS5003::begin(void) {
if (this->_isBegin) {
AgLog("Already initialized, call end() then try again");
AgLog("Initialized, call end() then try again");
return true;
}