FreeRTOS type updates.

This commit is contained in:
Our Air Quality 2016-11-02 13:49:04 +11:00
parent e2e6f35288
commit 986ea38a15
53 changed files with 151 additions and 148 deletions

View file

@ -35,7 +35,7 @@
namespace esp_open_rtos {
namespace timer {
#define __millis() (xTaskGetTickCount() * portTICK_RATE_MS)
#define __millis() (xTaskGetTickCount() * portTICK_PERIOD_MS)
/******************************************************************************************************************
* countdown_t
@ -93,7 +93,7 @@ public:
}
private:
portTickType interval_end_ms;
TickType_t interval_end_ms;
};
} // namespace timer {