Permalink
Browse files

Fixed compile of shut_down_in

  • Loading branch information...
1 parent 0bb0e2d commit 52cc46db1e9984fe27d1f9e91144118e9edb777b @bmcdorman bmcdorman committed Mar 8, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/botball_c.cpp
View
3 src/botball_c.cpp
@@ -7,6 +7,7 @@
#include "kovan/audio.h"
#include "kovan/thread.hpp"
#include "kovan/general.h"
+#include "kovan/create.hpp"
#include <cstdlib>
#include <iostream>
@@ -30,7 +31,7 @@ class ShutDownIn : public Thread
const double end = seconds();
std::cout << std::endl << "Shutdown after " << (end - start) << " seconds" << std::endl;
// Note: Might want to move this to botui in the future.
- create_stop();
+ Create::instance()->stop();
_Exit(0);
}

0 comments on commit 52cc46d

Please sign in to comment.