Moved and renamed files for consistent C code style (#463)
* **Documentation** * Added new C coding style guide detailing naming conventions for files, directories, macros, constants, variables, functions, and type definitions with illustrative examples. * Updated C++ coding style documentation with clarifications on C naming conventions and header directory organization patterns. * **Refactor** * Updated header include paths throughout the codebase to use lowercase naming conventions consistently.
This commit is contained in:
committed by
GitHub
parent
c05d46a28c
commit
d551e467b8
@@ -3,7 +3,7 @@
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
#include <Tactility/Device.h>
|
||||
#include <tactility/device.h>
|
||||
|
||||
TEST_CASE("device_construct and device_destruct should set and unset the correct fields") {
|
||||
Device device = { 0 };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "doctest.h"
|
||||
#include <Tactility/FreeRTOS/task.h>
|
||||
#include <Tactility/concurrent/Dispatcher.h>
|
||||
#include <tactility/freertos/task.h>
|
||||
#include <tactility/concurrent/dispatcher.h>
|
||||
|
||||
TEST_CASE("dispatcher test") {
|
||||
DispatcherHandle_t dispatcher = dispatcher_alloc();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "doctest.h"
|
||||
#include <Tactility/Device.h>
|
||||
#include <Tactility/Driver.h>
|
||||
#include <tactility/driver.h>
|
||||
#include <tactility/device.h>
|
||||
|
||||
struct IntegrationDriverConfig {
|
||||
int startResult;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "doctest.h"
|
||||
#include <Tactility/Driver.h>
|
||||
#include <tactility/driver.h>
|
||||
|
||||
TEST_CASE("driver_construct and driver_destruct should set and unset the correct fields") {
|
||||
Driver driver = { 0 };
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "doctest.h"
|
||||
#include <cassert>
|
||||
|
||||
#include <Tactility/FreeRTOS/task.h>
|
||||
#include <tactility/freertos/task.h>
|
||||
|
||||
typedef struct {
|
||||
int argc;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "doctest.h"
|
||||
#include <Tactility/concurrent/Mutex.h>
|
||||
#include <tactility/concurrent/mutex.h>
|
||||
|
||||
TEST_CASE("mutex_construct and mutex_destruct should properly set the handle") {
|
||||
Mutex mutex = { 0 };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "doctest.h"
|
||||
#include <Tactility/concurrent/RecursiveMutex.h>
|
||||
#include <tactility/concurrent/recursive_mutex.h>
|
||||
|
||||
TEST_CASE("recursive_mutex_construct and mutex_destruct should properly set the handle") {
|
||||
RecursiveMutex mutex = { 0 };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "doctest.h"
|
||||
#include <Tactility/Time.h>
|
||||
#include <Tactility/Delay.h>
|
||||
#include <tactility/delay.h>
|
||||
#include <tactility/time.h>
|
||||
|
||||
TEST_CASE("delay ticks should be accurate within 1 tick") {
|
||||
auto start_time = get_ticks();
|
||||
|
||||
Reference in New Issue
Block a user