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
Michael Huebler
firmware
Commits
ff648393
Commit
ff648393
authored
5 years ago
by
Ole Dreessen
Browse files
Options
Downloads
Patches
Plain Diff
added code for analog switch
parent
9883fc93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ecgtest/main.c
+5
-0
5 additions, 0 deletions
ecgtest/main.c
with
5 additions
and
0 deletions
ecgtest/main.c
+
5
−
0
View file @
ff648393
...
...
@@ -230,6 +230,11 @@ int main(void)
GPIO_IntEnable
(
&
interrupt_pin
);
NVIC_EnableIRQ
(
MXC_GPIO_GET_IRQ
(
PORT_1
));
// uncomment this to switch ECG to USB connector
#if 0
const gpio_cfg_t analog_switch = {PORT_0, PIN_31, GPIO_FUNC_OUT, GPIO_PAD_NONE};
GPIO_OutSet(&analog_switch);
#endif
ecg_config
();
...
...
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