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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TilCreator
firmware
Commits
e6de8e5f
Verified
Commit
e6de8e5f
authored
5 years ago
by
genofire
Browse files
Options
Downloads
Patches
Plain Diff
ble: card10 svc - lcd display does not need locking anymore
parent
29a9b484
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/bluetooth/card10.rst
+0
-1
0 additions, 1 deletion
Documentation/bluetooth/card10.rst
epicardium/ble/card10.c
+0
-11
0 additions, 11 deletions
epicardium/ble/card10.c
with
0 additions
and
12 deletions
Documentation/bluetooth/card10.rst
+
0
−
1
View file @
e6de8e5f
...
...
@@ -183,7 +183,6 @@ By defining 11x rgb from left to right. You need also to set exchange a bigger M
LCD brightness characteristic
---------------------------------
This charatieristic set the brightness of the lcd backlight 0-100 in ``uint16``.
It works only, if no application (pycardium app) blocks the screen.
- set to 100 % ``0x6400``
- set to 20 % ``0x1400`` (default value)
...
...
This diff is collapsed.
Click to expand it.
epicardium/ble/card10.c
+
0
−
11
View file @
e6de8e5f
...
...
@@ -736,14 +736,6 @@ static uint8_t writeCard10CB(
}
return
ATT_SUCCESS
;
case
CARD10_LCD_BRIGHTNESS_VAL_HDL
:
intVar
=
epic_disp_open
();
if
(
intVar
<
0
)
{
APP_TRACE_INFO1
(
"ble-card10: lock display to set brightness failed: %d"
,
intVar
);
return
ATT_ERR_RANGE
;
}
BYTES_TO_UINT16
(
ui16
,
pValue
);
intVar
=
epic_disp_backlight
(
ui16
);
APP_TRACE_INFO2
(
...
...
@@ -751,9 +743,6 @@ static uint8_t writeCard10CB(
ui16
,
intVar
);
epic_disp_close
();
if
(
intVar
<
0
)
return
ATT_ERR_RANGE
;
return
ATT_SUCCESS
;
default:
APP_TRACE_INFO1
(
...
...
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