HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0a0eeb
)
Clear the config cache just before the main loop starts, after all setup is done
author
Jim Morris
<morris@wolfman.com>
Sun, 22 Sep 2013 21:48:08 +0000
(14:48 -0700)
committer
Jim Morris
<morris@wolfman.com>
Sun, 22 Sep 2013 21:48:08 +0000
(14:48 -0700)
src/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
b60c2d4
..
999f068
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-107,6
+107,9
@@
int main() {
kernel->add_module( &dfu );
kernel->add_module( &u );
+ // clear up the config cache to save some memory
+ kernel->config->config_cache_clear();
+
// Main loop
while(1){
kernel->call_event(ON_MAIN_LOOP);