mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-10 06:59:54 +08:00
[actuator] add dummy file for simulation with dshot driver
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Gautier Hattenberger <gautier.hattenberger@enac.fr>
|
||||
*
|
||||
* This file is part of paparazzi
|
||||
*
|
||||
* paparazzi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* paparazzi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with paparazzi; see the file COPYING. If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file "modules/actuators/actuators_dshot_arch.c"
|
||||
* @author Gautier Hattenberger
|
||||
* Simulation driver for DSHOT speed controller protocol
|
||||
* Arch dependent part
|
||||
*/
|
||||
|
||||
#include "modules/actuators/actuators_dshot.h"
|
||||
|
||||
uint16_t actuators_dshot_values[ACTUATORS_DSHOT_NB];
|
||||
|
||||
void actuators_dshot_arch_init(void) {}
|
||||
|
||||
void actuators_dshot_arch_commit(void) {}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Gautier Hattenberger <gautier.hattenberger@enac.fr>
|
||||
*
|
||||
* This file is part of paparazzi
|
||||
*
|
||||
* paparazzi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* paparazzi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with paparazzi; see the file COPYING. If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file "modules/actuators/actuators_dshot_arch.h"
|
||||
* @author Gautier Hattenberger
|
||||
* Simulation driver for DSHOT speed controller protocol
|
||||
* Arch dependent part
|
||||
*/
|
||||
|
||||
#ifndef ACTUATORS_DSHOT_H
|
||||
#define ACTUATORS_DSHOT_H
|
||||
|
||||
|
||||
#endif /* ACTUATORS_DSHOT_ARCH_H */
|
||||
Reference in New Issue
Block a user