| 244 | } |
| 245 | |
| 246 | bool CoroutinePlatformTeensy::inInterruptContext() const FL_NOEXCEPT { |
| 247 | fl::u32 ipsr; |
| 248 | __asm__ volatile("MRS %0, ipsr" : "=r"(ipsr)) FL_NOEXCEPT; |
| 249 | return ipsr != 0; |
| 250 | } |
| 251 | |
| 252 | bool CoroutinePlatformTeensy::checkStackHealth(void* ctx) const FL_NOEXCEPT { |
| 253 | if (!ctx) return true; |