Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
560409c9
Commit
560409c9
authored
10 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
MXT interface does not need an IRQ number; SAMA5D4-EK setup omitted I2C frequency
parent
6f4a218c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs/sama5d4-ek/src/sam_maxtouch.c
+1
-0
1 addition, 0 deletions
configs/sama5d4-ek/src/sam_maxtouch.c
include/nuttx/input/mxt.h
+0
-8
0 additions, 8 deletions
include/nuttx/input/mxt.h
with
1 addition
and
8 deletions
configs/sama5d4-ek/src/sam_maxtouch.c
+
1
−
0
View file @
560409c9
...
...
@@ -128,6 +128,7 @@ static struct sama5d4ek_tscinfo_s g_mxtinfo =
{
.
lower
=
{
.
address
=
(
0x4c
>>
1
),
.
frequency
=
CONFIG_SAMA5D4EK_MXT_I2CFREQUENCY
,
.
attach
=
mxt_attach
,
...
...
This diff is collapsed.
Click to expand it.
include/nuttx/input/mxt.h
+
0
−
8
View file @
560409c9
...
...
@@ -123,14 +123,6 @@ struct mxt_lower_s
uint8_t
address
;
/* 7-bit I2C address (only bits 0-6 used) */
uint32_t
frequency
;
/* I2C frequency */
#ifndef CONFIG_MXT_MULTIPLE
/* If multiple MXT devices are supported, then an IRQ number must
* be provided for each so that their interrupts can be distinguished.
*/
int
irq
;
/* IRQ number received by interrupt handler. */
#endif
/* True: Swap X and Y values */
bool
swapxy
;
...
...
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