aboutsummaryrefslogtreecommitdiff
path: root/robot/mode_dirc.c
blob: 9ed9feffc148dcb650754ed9afb118f13f604e2f (plain)
1
2
3
4
5
6
7
8
9
10
#include "mode_dirc.h"
#include "io.h"

int16_t g_w2_mode_dirc_motor_l = 0;
int16_t g_w2_mode_dirc_motor_r = 0;

void w2_mode_dirc() {
	g_w2_io.motor_left.speed  = g_w2_mode_dirc_motor_l;
	g_w2_io.motor_right.speed = g_w2_mode_dirc_motor_r;
}