Align code style (#40)
- Mutex -> Mutex* - Cleanup enum names - Other small changes
This commit is contained in:
committed by
GitHub
parent
9327d61427
commit
e0db8767c7
@@ -12,7 +12,7 @@ extern "C" {
|
||||
|
||||
typedef struct {
|
||||
PubSubSubscription* wifi_subscription;
|
||||
Mutex mutex;
|
||||
Mutex* mutex;
|
||||
WifiConnectState state;
|
||||
WifiConnectView view;
|
||||
bool view_enabled;
|
||||
|
||||
@@ -10,7 +10,7 @@ extern "C" {
|
||||
|
||||
typedef struct {
|
||||
PubSubSubscription* wifi_subscription;
|
||||
Mutex mutex;
|
||||
Mutex* mutex;
|
||||
WifiManageState state;
|
||||
WifiManageView view;
|
||||
bool view_enabled;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
typedef struct {
|
||||
/** @brief Locking mechanism for modifying the Wifi instance */
|
||||
Mutex mutex;
|
||||
Mutex* mutex;
|
||||
/** @brief The public event bus */
|
||||
PubSub* pubsub;
|
||||
/** @brief The internal message queue */
|
||||
|
||||
@@ -15,7 +15,7 @@ static void hash_reset_all();
|
||||
|
||||
// region Hash
|
||||
|
||||
static Mutex hash_mutex = NULL;
|
||||
static Mutex* hash_mutex = NULL;
|
||||
static int8_t hash_index = -1;
|
||||
static uint32_t hashes[TT_WIFI_CREDENTIALS_LIMIT] = { 0 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user