Corrected some typo

This commit is contained in:
Ulysse Cura 2026-01-31 20:45:00 +01:00
parent a4735a13f9
commit a10ee7c727
5 changed files with 4 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
program/main_controller/build
program/main_controller/src/wifi/headers/wifi_operator.h
program/motion_controller/build
program/main_controller/src/wifi/headers/wifi_operator.h

View File

@ -13,7 +13,7 @@ typedef struct motion_control_data_t {
} motion_control_data_t;
// Init values for motion control
void init_motion_control(void);
void motion_control_init(void);
// Update motion control buffer from motion control data and gyro data
void i2c_update_motion_control(void);
// Update servo motors from motion control data

View File

@ -1,7 +1,7 @@
#ifndef GYRO_H
#define GYRO_H
#define I2C_GYRO_ADDRESS 0x6b
#define I2C_GYRO_ADDRESS 0x6B
typedef struct gyro_data_t {
float x_offset, y_offset, z_offset;

View File

@ -6,7 +6,6 @@
#define I2C_MCP23017_ADDRESS 0x20
typedef struct mcp23017_data_t {
uint8_t gpio_state[2];
} mcp23017_data_t;

View File

@ -7,7 +7,7 @@
#define GAIN_KD 10
void init_motion_control(void)
void motion_control_init(void)
{
robot.motion_control_data.angle = 0;
robot.motion_control_data.x_axis_speed = 0;