Minor code cleanups

This commit is contained in:
Oleg Kalachev 2024-01-08 22:33:11 +03:00
parent e1e747969b
commit 1ed05a94dd
2 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,9 @@
#define RC_CHANNEL_MODE 5 #define RC_CHANNEL_MODE 5
#define MOTOR_REAR_LEFT 0 #define MOTOR_REAR_LEFT 0
#define MOTOR_FRONT_LEFT 3
#define MOTOR_FRONT_RIGHT 2
#define MOTOR_REAR_RIGHT 1 #define MOTOR_REAR_RIGHT 1
#define MOTOR_FRONT_RIGHT 2
#define MOTOR_FRONT_LEFT 3
float t = NAN; // current step time, s float t = NAN; // current step time, s
float dt; // time delta from previous step, s float dt; // time delta from previous step, s

View File

@ -6,8 +6,8 @@
#if WIFI_ENABLED == 1 #if WIFI_ENABLED == 1
#include <WiFi.h> #include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiAP.h> #include <WiFiAP.h>
#include <WiFiUdp.h>
#define WIFI_SSID "flix" #define WIFI_SSID "flix"
#define WIFI_PASSWORD "flixwifi" #define WIFI_PASSWORD "flixwifi"