Minor keyword and mutex fixes for multicore

This commit is contained in:
Earle F. Philhower, III
2021-05-08 11:13:26 -07:00
parent 763846aee8
commit 8ae69a3463
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -25,8 +25,7 @@
RP2040 rp2040;
volatile bool _MFIFO::_otherIdled = false;
auto_init_mutex(_pioMutex);
mutex_t _pioMutex;
extern void setup();
@@ -58,6 +57,7 @@ extern "C" int main() {
set_sys_clock_khz(F_CPU / 1000, true);
#endif
mutex_init(&_pioMutex);
initVariant();
#ifndef DISABLE_USB_SERIAL
+2
View File
@@ -9,6 +9,8 @@
#######################################
# Methods and Functions (KEYWORD2)
#######################################
setup1 KEYWORD2
loop2 KEYWORD2
analogWriteFreq KEYWORD2
analogWriteRange KEYWORD2
analogWriteResolution KEYWORD2