diff --git a/include/okapi/api/coreProsAPI.hpp b/include/okapi/api/coreProsAPI.hpp index ab1aa694..81a9d362 100644 --- a/include/okapi/api/coreProsAPI.hpp +++ b/include/okapi/api/coreProsAPI.hpp @@ -92,6 +92,16 @@ class CrossplatformThread { } #endif +#ifdef THREADS_STD + std::uint32_t notify() { + return 1; + } +#else + std::uint32_t notify() { + return pros::c::task_notify(thread); + } +#endif + static std::string getName() { #ifdef THREADS_STD std::ostringstream ss;