mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
- Moved WiFi logic from `TactilityKernel/` to `wifi-module` - Created commandline app to control Wi-Fi - Update `tactility.py` to v6.1.0 so it can be executed directly
14 lines
556 B
C++
14 lines
556 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <functional>
|
|
|
|
#ifdef ESP_PLATFORM
|
|
|
|
// Out-of-line definitions for the std::function<long()> members that module.cpp exports.
|
|
// On ESP32, int32_t is long, so this is Thread::MainFunction. Nothing else is guaranteed to emit
|
|
// these, so they are explicitly instantiated here.
|
|
// Kept out of module.cpp: it declares these same symbols by their mangled names as extern "C".
|
|
template long std::function<long()>::operator()() const;
|
|
template std::function<long()>::function(const std::function<long()>&);
|
|
|
|
#endif
|