mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 11:01:46 +02:00
Fix Typo
This commit is contained in:
parent
7c349a3289
commit
1730ea958c
@ -50,12 +50,12 @@ void vTaskUpdate(void *pvParameters) {
|
|||||||
PowerParameters::PowerConsumers::WIFI,
|
PowerParameters::PowerConsumers::WIFI,
|
||||||
PowerParameters::CurrentConsumptions::CURRENT_WIFI_PEAK +
|
PowerParameters::CurrentConsumptions::CURRENT_WIFI_PEAK +
|
||||||
PowerParameters::CurrentConsumptions::CURRENT_WIFI_BASE,
|
PowerParameters::CurrentConsumptions::CURRENT_WIFI_BASE,
|
||||||
MESSH_MAX_EXECUTION_DELAY_MS, NULL);
|
MESH_MAX_EXECUTION_DELAY_MS, NULL);
|
||||||
mesh.update();
|
mesh.update();
|
||||||
Power::waitForCurrentAllowance(
|
Power::waitForCurrentAllowance(
|
||||||
PowerParameters::PowerConsumers::WIFI,
|
PowerParameters::PowerConsumers::WIFI,
|
||||||
PowerParameters::CurrentConsumptions::CURRENT_WIFI_BASE,
|
PowerParameters::CurrentConsumptions::CURRENT_WIFI_BASE,
|
||||||
MESSH_MAX_EXECUTION_DELAY_MS, NULL);
|
MESH_MAX_EXECUTION_DELAY_MS, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ void Communication::begin(void) {
|
|||||||
Power::waitForCurrentAllowance(
|
Power::waitForCurrentAllowance(
|
||||||
PowerParameters::PowerConsumers::WIFI,
|
PowerParameters::PowerConsumers::WIFI,
|
||||||
PowerParameters::CurrentConsumptions::CURRENT_WIFI_BASE,
|
PowerParameters::CurrentConsumptions::CURRENT_WIFI_BASE,
|
||||||
MESSH_MAX_EXECUTION_DELAY_MS, NULL);
|
MESH_MAX_EXECUTION_DELAY_MS, NULL);
|
||||||
mesh.init(MESH_PREFIX, MESH_PASSWORD, &userScheduler, MESH_PORT);
|
mesh.init(MESH_PREFIX, MESH_PASSWORD, &userScheduler, MESH_PORT);
|
||||||
mesh.onReceive(&receivedCallback);
|
mesh.onReceive(&receivedCallback);
|
||||||
mesh.onNewConnection(&newConnectionCallback);
|
mesh.onNewConnection(&newConnectionCallback);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define MESH_PREFIX "DEZIBOT_MESH"
|
#define MESH_PREFIX "DEZIBOT_MESH"
|
||||||
#define MESH_PASSWORD "somethingSneaky"
|
#define MESH_PASSWORD "somethingSneaky"
|
||||||
#define MESH_PORT 5555
|
#define MESH_PORT 5555
|
||||||
#define MESSH_MAX_EXECUTION_DELAY_MS 10
|
#define MESH_MAX_EXECUTION_DELAY_MS 10
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user