Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed compile of shut_down_in

  • Loading branch information...
commit 52cc46db1e9984fe27d1f9e91144118e9edb777b 1 parent 0bb0e2d
Braden McDorman bmcdorman authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/botball_c.cpp
3  src/botball_c.cpp
View
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.