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 1
1
name =SparkFun VEML7700 Arduino Library
2
- version =2.0.0
2
+ version =2.0.1
3
3
author =SparkFun Electronics <
[email protected] >
4
4
maintainer =SparkFun Electronics <sparkfun.com>
5
5
sentence =Library for the VEML7700 Ambient Light Sensor
Original file line number Diff line number Diff line change @@ -235,6 +235,18 @@ class sfDevVEML7700
235
235
* @return VEML7700_persistence_protect_t The current persistence protection setting.
236
236
*/
237
237
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
+
238
250
/* *
239
251
* @brief Returns a string representation of the current persistence protection setting.
240
252
*
You can’t perform that action at this time.
0 commit comments