|
3 | 3 | // Model: blinky.qm |
4 | 4 | // File: ${.::blinky.ino} |
5 | 5 | // |
6 | | -// This code has been generated by QM 4.6.0 <www.state-machine.com/qm/>. |
| 6 | +// This code has been generated by QM 5.0.0 <www.state-machine.com/qm/>. |
7 | 7 | // DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost. |
8 | 8 | // |
9 | 9 | // This program is open source software: you can redistribute it and/or |
@@ -109,8 +109,13 @@ void QV::onIdle(void) { // called with interrupts DISABLED |
109 | 109 | #endif |
110 | 110 | } |
111 | 111 | //............................................................................ |
112 | | -extern "C" void Q_onAssert(char const * const module, int loc) { |
113 | | - // implement the error-handling policy for your application!!! |
| 112 | +extern "C" Q_NORETURN Q_onAssert(char const * const module, int location) { |
| 113 | + // |
| 114 | + // NOTE: add here your application-specific error handling |
| 115 | + // |
| 116 | + (void)module; |
| 117 | + (void)location; |
| 118 | + |
114 | 119 | QF_INT_DISABLE(); // disable all interrupts |
115 | 120 | digitalWrite(LED_BUILTIN, HIGH); // turn the LED on |
116 | 121 | for (;;) { // sit in an endless loop for now |
@@ -139,8 +144,8 @@ protected: |
139 | 144 | //.$enddecl${AOs::Blinky} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
140 | 145 | //.$skip${QP_VERSION} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv |
141 | 146 | //. Check for the minimum required QP version |
142 | | -#if (QP_VERSION < 650U) || (QP_VERSION != ((QP_RELEASE^4294967295U) % 0x3E8U)) |
143 | | -#error qpcpp version 6.5.0 or higher required |
| 147 | +#if (QP_VERSION < 670U) || (QP_VERSION != ((QP_RELEASE^4294967295U) % 0x3E8U)) |
| 148 | +#error qpcpp version 6.7.0 or higher required |
144 | 149 | #endif |
145 | 150 | //.$endskip${QP_VERSION} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
146 | 151 | //.$define${AOs::Blinky} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv |
|
0 commit comments