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
External 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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adrian
firmware
Commits
7a2a7d9b
Commit
7a2a7d9b
authored
5 years ago
by
Adrian Schneider
Browse files
Options
Downloads
Patches
Plain Diff
fix(light_sensor) unify enable var for module
parent
12018d5d
No related branches found
No related tags found
No related merge requests found
Pipeline
#1361
passed
5 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pycardium/modules/light_sensor.c
+1
-1
1 addition, 1 deletion
pycardium/modules/light_sensor.c
pycardium/mpconfigport.h
+1
-1
1 addition, 1 deletion
pycardium/mpconfigport.h
with
2 additions
and
2 deletions
pycardium/modules/light_sensor.c
+
1
−
1
View file @
7a2a7d9b
...
...
@@ -44,4 +44,4 @@ const mp_obj_module_t light_sensor_module = {
};
/* clang-format off */
MP_REGISTER_MODULE
(
MP_QSTR_light_sensor
,
light_sensor_module
,
MODULE_
AMBIENT
_ENABLED
);
MP_REGISTER_MODULE
(
MP_QSTR_light_sensor
,
light_sensor_module
,
MODULE_
LIGHT_SENSOR
_ENABLED
);
This diff is collapsed.
Click to expand it.
pycardium/mpconfigport.h
+
1
−
1
View file @
7a2a7d9b
...
...
@@ -37,7 +37,7 @@
#define MODULE_UTIME_ENABLED (1)
#define MODULE_LEDS_ENABLED (1)
#define MODULE_VIBRA_ENABLED (1)
#define MODULE_
AMBIENT
_ENABLED
(1)
#define MODULE_
LIGHT_SENSOR
_ENABLED (1)
/*
* This port is intended to be 32-bit, but unfortunately, int32_t for
...
...
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