Fix incorrect variable types

reqSpeed is between 0 & 1, batteryVoltage has decimal places, both should be float not int
This commit is contained in:
Aadi Desai 2021-06-12 23:04:01 +01:00
parent 52e14dfaa8
commit 1e87e9b0f4

View file

@ -3,8 +3,10 @@
#include <string>
#define WebSocket 0
int state, batteryVoltage, batteryLevel, totalTripDistance, currentHeading, current_x, current_y, signal_strength, lastCompletedCommand_id; // Info Control ==> Command
int command_id, mode, reqHeading, reqDistance, reqSpeed, reqCharge; // Info Command ==> Control
int state, batteryLevel, totalTripDistance, currentHeading, current_x, current_y, signal_strength, lastCompletedCommand_id; // Info Control ==> Command
float batteryVoltage; // Info Control ==> Command
int command_id, mode, reqHeading, reqDistance, reqCharge; // Info Command ==> Control
float reqSpeed; // Info Command ==> Control
void setup() {}