From 312846d6280f7c1eec5a9bdfc2938ee985c3fa4b Mon Sep 17 00:00:00 2001 From: Softonik Date: Sun, 20 Nov 2022 04:43:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=20=D0=BF=D1=80=D0=B5=D0=BE=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D1=84=D1=83=D0=BD?= =?UTF-8?q?=D0=BA=D1=86=D0=B8=D0=B8=20task-notifications?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- transpile/mapping.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/transpile/mapping.go b/transpile/mapping.go index f696d74..5196042 100644 --- a/transpile/mapping.go +++ b/transpile/mapping.go @@ -60,6 +60,7 @@ var mapping = map[string]string{ "wifi.StatusScanCompleted": "WL_SCAN_COMPLETED", "Loop": "loop", "Setup": "setup", + "arduino.Millis": "millis", "arduino.A0": "A0", "arduino.A1": "A1", "arduino.A2": "A2", @@ -96,6 +97,9 @@ var mapping = map[string]string{ "arduino.TXLED": "30", "task.TaskCreate": "vTaskCreate", "task.TaskDelay": "vTaskDelay", + "task.TaskNotifyTake": "ulTaskNotifyTake", + "task.TickType": "TickType_t", + "task.MS_TO_TICKS": "pdMS_TO_TICKS", "semaphore.SemaphoreHandle": "SemaphoreHandle_t", "semaphore.SemaphoreCreateMutex": "xSemaphoreCreateMutex", "semaphore.SemaphoreTake": "xSemaphoreTake",