@@ -106,7 +106,7 @@ class NiclaSenseEnv : public I2CDevice {
106106 *
107107 * @return true if the settings were successfully stored, false otherwise.
108108 */
109- bool storeSettingsInFlash ();
109+ bool persistSettings ();
110110
111111 /* *
112112 * @brief Retrieves the serial number of the device.
@@ -148,7 +148,7 @@ class NiclaSenseEnv : public I2CDevice {
148148 /* *
149149 * @brief Restores the factory settings.
150150 * This will reset among other properties the device address to the default value.
151- * See storeSettingsInFlash () for a complete list of properties that are affected by this method.
151+ * See persistSettings () for a complete list of properties that are affected by this method.
152152 *
153153 * @return true if the factory settings were successfully restored, false otherwise.
154154 */
@@ -163,7 +163,7 @@ class NiclaSenseEnv : public I2CDevice {
163163
164164 /* *
165165 * @brief Sets the baud rate for the UART communication.
166- * Call storeSettingsInFlash () on NiclaSenseEnv instance after changing the baud rate to make the change persistent.
166+ * Call persistSettings () on NiclaSenseEnv instance after changing the baud rate to make the change persistent.
167167 * @param baudRate The desired baud rate for the UART communication.
168168 The supported values are: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
169169 */
@@ -179,7 +179,7 @@ class NiclaSenseEnv : public I2CDevice {
179179 /* *
180180 * @brief Sets the UART CSV output enabled or disabled.
181181 * Enables or disables CSV output over UART.
182- * Call storeSettingsInFlash () on NiclaSenseEnv instance after changing the CSV output mode to make the change persistent.
182+ * Call persistSettings () on NiclaSenseEnv instance after changing the CSV output mode to make the change persistent.
183183 *
184184 * The column names and their order are:
185185 * HS4001 sample counter, HS4001 temperature (degC), HS4001 humidity (%RH), ZMOD4510 status, ZMOD4510 sample counter,
@@ -205,7 +205,7 @@ class NiclaSenseEnv : public I2CDevice {
205205
206206 /* *
207207 * @brief Sets the CSV delimiter for parsing CSV data.
208- * Call storeSettingsInFlash () on NiclaSenseEnv instance after changing the CSV delimiter to make the change persistent.
208+ * Call persistSettings () on NiclaSenseEnv instance after changing the CSV delimiter to make the change persistent.
209209 * @param delimiter The character to be used as the CSV delimiter.
210210 */
211211 void setCSVDelimiter (char delimiter);
@@ -220,14 +220,14 @@ class NiclaSenseEnv : public I2CDevice {
220220 /* *
221221 * @brief Toggles the debugging mode.
222222 * When debugging mode is enabled, the board will send additional debug messages over UART.
223- * Call storeSettingsInFlash () on NiclaSenseEnv instance after changing the debugging mode to make the change persistent.
223+ * Call persistSettings () on NiclaSenseEnv instance after changing the debugging mode to make the change persistent.
224224 * @param enabled A boolean value indicating whether debugging is enabled or not.
225225 */
226226 void setDebuggingEnabled (bool enabled);
227227
228228 /* *
229229 * @brief Sets the I2C address of the device.
230- * Call storeSettingsInFlash () on NiclaSenseEnv instance after changing the address to make the change persistent.
230+ * Call persistSettings () on NiclaSenseEnv instance after changing the address to make the change persistent.
231231 *
232232 * @param address The new I2C address. Valid values are 0 to 127.
233233 */
0 commit comments