Skip to content

Commit

Permalink
removing drm from 107_odin branch. saved in odin_drm branch
Browse files Browse the repository at this point in the history
  • Loading branch information
orneryd committed Jun 17, 2018
1 parent 6b1a05c commit ab86d8c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 99 deletions.
2 changes: 0 additions & 2 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ def configure_target(TARGET):
os.path.join("src", "imu"),
os.path.join("src", "bootloader"),
os.path.join("src", "filter"),
os.path.join("src", "drm"),
LIBRARY_PATH + "/CMSIS_std/Device/ST/STM32F30x/Include",
LIBRARY_PATH + "/STM32F30x_StdPeriph_Driver/inc",
LIBRARY_PATH + "/CMSIS_std/Include"
Expand All @@ -200,7 +199,6 @@ def configure_target(TARGET):
os.path.join("src", "stm32"),
os.path.join("src", "target"),
os.path.join("src", "board_comm"),
os.path.join("src", "drm"),
LIBRARY_PATH + "/CMSIS_std/Device/ST/STM32F30x/Source",
LIBRARY_PATH + "/STM32F30x_StdPeriph_Driver/src"
]
Expand Down
84 changes: 0 additions & 84 deletions src/drm/drm.c

This file was deleted.

5 changes: 0 additions & 5 deletions src/drm/drm.h

This file was deleted.

3 changes: 0 additions & 3 deletions src/imu/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "gyro.h"
#include "filter.h"
#include "crc.h"
#include "drm.h"

#include "scheduler.h"

Expand All @@ -22,8 +21,6 @@ int main(void)
init_imu();
//this makes the status light go red
single_gpio_init(BOOTLOADER_CHECK_PORT, BOOTLOADER_CHECK_PIN_SRC, BOOTLOADER_CHECK_PIN, 0, GPIO_Mode_OUT, GPIO_OType_PP, GPIO_PuPd_NOPULL);
//init drm
prerun_check();
//init gyro
gyro_init();

Expand Down
5 changes: 0 additions & 5 deletions src/imu/scheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "quaternions.h"
#include "gyro.h"
#include "filter.h"
#include "drm.h"
#include "gyro_device.h" //where gyroRxFrame lives

inline void scheduler_run(void)
Expand All @@ -27,8 +26,4 @@ inline void scheduler_run(void)
update_quaternions();
gyroDataReadDone = 0; //reset read flag to prepare for next read
fire_spi_send_ready();
if (!check_me())
{
delay_ms(42);
}
}

0 comments on commit ab86d8c

Please sign in to comment.