Improvements and fixes (#595)
- Fix BluetoothSettings app not updating when toggling on Bluetooth on - Fix BluetoothSettings app crash when closing while scanning - Fix BluetoothSettings app crash when turning BT off while scanning - WebServer doesn't save config anymore as a side-effect of reading the config - Add missing license headers - Use TactilityKernel's time and delay functions instead of TactilityFreeRtos ones
This commit is contained in:
committed by
GitHub
parent
e6e1dcd0ca
commit
bd108cc3c4
@@ -10,6 +10,7 @@
|
||||
#endif
|
||||
|
||||
#include <tactility/freertos/freertos.h>
|
||||
#include <tactility/freertos/task.h>
|
||||
#include <tactility/check.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "defines.h"
|
||||
#include "tactility/freertos/task.h"
|
||||
#include <tactility/freertos/port.h>
|
||||
#include <tactility/freertos/task.h>
|
||||
|
||||
#ifdef ESP_PLATFORM
|
||||
#include <esp_timer.h>
|
||||
@@ -31,6 +32,8 @@ static_assert(configTICK_RATE_HZ == 1000);
|
||||
static_assert(configTICK_RATE_HZ == 1000, "configTICK_RATE_HZ must be 1000");
|
||||
#endif
|
||||
|
||||
#define MAX_TICKS (~(TickType_t)0)
|
||||
|
||||
static inline uint32_t get_tick_frequency() {
|
||||
return configTICK_RATE_HZ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user