add boost and check battery
This commit is contained in:
		| @@ -87,20 +87,8 @@ typedef struct { | ||||
|     bool button; | ||||
|     uint8_t speed;      // 100m/h | ||||
|     bool brake; | ||||
|     uint8_t powerMode; // 0: eco - 1: normal - 2: race | ||||
|     /* | ||||
|      * 0 - ECO MODE | ||||
|      * Eco mod limit to 1/2 of the maximal current.  | ||||
|      * Position is 1/2 of the maximal angle | ||||
|      *  | ||||
|      * 1 - NORMAL MODE | ||||
|      * Standard ramp for normal mode | ||||
|      * Position is limited to 3/4 of the maximal  | ||||
|      *  | ||||
|      * 2 - RACE MODE | ||||
|      *  | ||||
|      *  | ||||
|      */ | ||||
|     uint8_t powerMode; | ||||
|     uint16_t batteryVoltage; | ||||
| } KART_VAR_TYPE; | ||||
| KART_VAR_TYPE eKart; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user