Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
François Revol
firmware
Commits
c686b7cf
Commit
c686b7cf
authored
4 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
docs(*): Add versionadded directives where applicable
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
dec0073e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
epicardium/epicardium.h
+2
-2
2 additions, 2 deletions
epicardium/epicardium.h
pycardium/modules/py/leds.py
+1
-1
1 addition, 1 deletion
pycardium/modules/py/leds.py
pycardium/modules/py/max86150.py
+2
-0
2 additions, 0 deletions
pycardium/modules/py/max86150.py
with
5 additions
and
3 deletions
epicardium/epicardium.h
+
2
−
2
View file @
c686b7cf
...
...
@@ -970,7 +970,7 @@ struct max86150_sensor_data {
* - ``-EINVAL``: config->ppg_sample_rate is not one of 10, 20, 50, 84, 100, 200
* or config_size is not size of config.
*
* .. versionadded:: 1.1
3
* .. versionadded:: 1.1
6
*/
API
(
API_MAX86150_ENABLE
,
int
epic_max86150_enable_sensor
(
struct
max86150_sensor_config
*
config
,
size_t
config_size
));
...
...
@@ -979,7 +979,7 @@ API(API_MAX86150_ENABLE, int epic_max86150_enable_sensor(struct max86150_sensor_
*
* :returns: 0 in case of success or forward negative error value from stream_deregister.
*
* .. versionadded:: 1.1
3
* .. versionadded:: 1.1
6
*/
API
(
API_MAX86150_DISABLE
,
int
epic_max86150_disable_sensor
());
...
...
This diff is collapsed.
Click to expand it.
pycardium/modules/py/leds.py
+
1
−
1
View file @
c686b7cf
...
...
@@ -104,7 +104,7 @@ def flash_rocket(led, value, millis):
:param int value: brightness value (0 < value < 32)
:param int millis: duration of the rocket being on in milliseconds.
.. versionadded:: 1.
??
.. versionadded:: 1.
16
"""
return
sys_leds
.
flash_rocket
(
led
,
value
,
millis
)
...
...
This diff is collapsed.
Click to expand it.
pycardium/modules/py/max86150.py
+
2
−
0
View file @
c686b7cf
...
...
@@ -22,6 +22,8 @@ class MAX86150:
print(
"
Red: {} Infrared: {} ECG: {}
"
, sample.red, sample.infrared, sample.ecg)
m.close()
.. versionadded:: 1.16
"""
def
__init__
(
self
,
callback
=
None
,
sample_buffer_len
=
128
,
sample_rate
=
200
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment