File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 11name =SparkFun VEML7700 Arduino Library
2- version =2.0.0
2+ version =2.0.1
33author =SparkFun Electronics <techsupport@sparkfun.com>
44maintainer =SparkFun Electronics <sparkfun.com>
55sentence =Library for the VEML7700 Ambient Light Sensor
Original file line number Diff line number Diff line change @@ -235,6 +235,18 @@ class sfDevVEML7700
235235 * @return VEML7700_persistence_protect_t The current persistence protection setting.
236236 */
237237 VEML7700_persistence_protect_t persistenceProtect (void );
238+
239+ /* *
240+ * @brief Get the Persistence Protect object - this is for backward compatibility.
241+ *
242+ * @deprecated since version 2.0.0, use persistenceProtect() instead.
243+ * @return VEML7700_persistence_protect_t
244+ */
245+ VEML7700_persistence_protect_t getPersistenceProtect (void )
246+ {
247+ return persistenceProtect ();
248+ }
249+
238250 /* *
239251 * @brief Returns a string representation of the current persistence protection setting.
240252 *
You can’t perform that action at this time.
0 commit comments