From e958ac65b04be0f0ee8b5abba57f622a6833383f Mon Sep 17 00:00:00 2001 From: bkleiner Date: Thu, 25 Jul 2024 23:08:59 +0200 Subject: [PATCH] move bb drivers to subfolder --- src/driver/{spi_m25p16.c => blackbox/m25p16.c} | 2 +- src/driver/{spi_m25p16.h => blackbox/m25p16.h} | 0 src/driver/{spi_sdcard.c => blackbox/sdcard.c} | 2 +- src/driver/{spi_sdcard.h => blackbox/sdcard.h} | 0 src/io/blackbox_device_flash.c | 2 +- src/io/blackbox_device_sdcard.c | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename src/driver/{spi_m25p16.c => blackbox/m25p16.c} (99%) rename src/driver/{spi_m25p16.h => blackbox/m25p16.h} (100%) rename src/driver/{spi_sdcard.c => blackbox/sdcard.c} (99%) rename src/driver/{spi_sdcard.h => blackbox/sdcard.h} (100%) diff --git a/src/driver/spi_m25p16.c b/src/driver/blackbox/m25p16.c similarity index 99% rename from src/driver/spi_m25p16.c rename to src/driver/blackbox/m25p16.c index 0bc1a571b..8ce31afcf 100644 --- a/src/driver/spi_m25p16.c +++ b/src/driver/blackbox/m25p16.c @@ -1,4 +1,4 @@ -#include "driver/spi_m25p16.h" +#include "driver/blackbox/m25p16.h" #include diff --git a/src/driver/spi_m25p16.h b/src/driver/blackbox/m25p16.h similarity index 100% rename from src/driver/spi_m25p16.h rename to src/driver/blackbox/m25p16.h diff --git a/src/driver/spi_sdcard.c b/src/driver/blackbox/sdcard.c similarity index 99% rename from src/driver/spi_sdcard.c rename to src/driver/blackbox/sdcard.c index 0fde3138f..76d7e6700 100644 --- a/src/driver/spi_sdcard.c +++ b/src/driver/blackbox/sdcard.c @@ -1,4 +1,4 @@ -#include "driver/spi_sdcard.h" +#include "driver/blackbox/sdcard.h" #include diff --git a/src/driver/spi_sdcard.h b/src/driver/blackbox/sdcard.h similarity index 100% rename from src/driver/spi_sdcard.h rename to src/driver/blackbox/sdcard.h diff --git a/src/io/blackbox_device_flash.c b/src/io/blackbox_device_flash.c index 782e95723..fc83b8491 100644 --- a/src/io/blackbox_device_flash.c +++ b/src/io/blackbox_device_flash.c @@ -1,7 +1,7 @@ #include "blackbox_device_flash.h" #include "core/project.h" -#include "driver/spi_m25p16.h" +#include "driver/blackbox/m25p16.h" #include "util/util.h" #define FILES_SECTOR_OFFSET blackbox_bounds.sector_size diff --git a/src/io/blackbox_device_sdcard.c b/src/io/blackbox_device_sdcard.c index 0cde1c709..3cbdb3f9d 100644 --- a/src/io/blackbox_device_sdcard.c +++ b/src/io/blackbox_device_sdcard.c @@ -3,7 +3,7 @@ #include #include "core/project.h" -#include "driver/spi_sdcard.h" +#include "driver/blackbox/sdcard.h" #define FLUSH_INTERVAL 8 #define FILES_SECTOR_OFFSET 1