Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
1466c169
Commit
1466c169
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
WIP: Cleanup main.c
parent
5b803156
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ports/card10/main.c
+1
-17
1 addition, 17 deletions
ports/card10/main.c
with
1 addition
and
17 deletions
ports/card10/main.c
+
1
−
17
View file @
1466c169
...
@@ -26,19 +26,7 @@ int main(int argc, char **argv) {
...
@@ -26,19 +26,7 @@ int main(int argc, char **argv) {
#endif
#endif
mp_init
();
mp_init
();
#if MICROPY_REPL_EVENT_DRIVEN
pyexec_friendly_repl
();
pyexec_event_repl_init
();
for
(;;)
{
int
c
=
mp_hal_stdin_rx_chr
();
if
(
pyexec_event_repl_process_char
(
c
))
{
break
;
}
}
#else
// pyexec_friendly_repl();
#error TODO friendly_repl
#endif
mp_deinit
();
mp_deinit
();
return
0
;
return
0
;
}
}
...
@@ -80,7 +68,3 @@ void MP_WEAK __assert_func(const char *file, int line, const char *func, const c
...
@@ -80,7 +68,3 @@ void MP_WEAK __assert_func(const char *file, int line, const char *func, const c
__fatal_error
(
"Assertion failed"
);
__fatal_error
(
"Assertion failed"
);
}
}
#endif
#endif
#if MICROPY_MIN_USE_CORTEX_CPU
// TODO
#endif
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