mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Files with bad CRLF
This commit is contained in:
parent
0aaa04910f
commit
916de26ad8
74 changed files with 971 additions and 823 deletions
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdbool.h"
|
#include "stdbool.h"
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern CMS_Menu cmsx_menuBlackbox;
|
extern CMS_Menu cmsx_menuBlackbox;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "cms/cms_types.h"
|
#include "cms/cms_types.h"
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern CMS_Menu cmsx_menuImu;
|
extern CMS_Menu cmsx_menuImu;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern CMS_Menu cmsx_menuLedstrip;
|
extern CMS_Menu cmsx_menuLedstrip;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern CMS_Menu cmsx_menuMisc;
|
extern CMS_Menu cmsx_menuMisc;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern CMS_Menu cmsx_menuOsd;
|
extern CMS_Menu cmsx_menuOsd;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
#define FTOA_BUFFER_LENGTH 11
|
#define FTOA_BUFFER_LENGTH 11
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifndef __UNIQL
|
#ifndef __UNIQL
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
typedef struct drv_adxl345_config_s {
|
typedef struct drv_adxl345_config_s {
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool bma280Detect(accDev_t *acc);
|
bool bma280Detect(accDev_t *acc);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct accDev_s;
|
struct accDev_s;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool l3g4200dDetect(gyroDev_t *gyro);
|
bool l3g4200dDetect(gyroDev_t *gyro);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool l3gd20Detect(gyroDev_t *gyro);
|
bool l3gd20Detect(gyroDev_t *gyro);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool mma8452Detect(accDev_t *acc);
|
bool mma8452Detect(accDev_t *acc);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Registers
|
// Registers
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool mpu6050AccDetect(accDev_t *acc);
|
bool mpu6050AccDetect(accDev_t *acc);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define MPU6500_BIT_RESET (0x80)
|
#define MPU6500_BIT_RESET (0x80)
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
#include "drivers/bus.h"
|
#include "drivers/bus.h"
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "drivers/bus.h" // XXX
|
#include "drivers/bus.h" // XXX
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "drivers/io_types.h"
|
#include "drivers/io_types.h"
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// MS5611, Standard address 0x77
|
// MS5611, Standard address 0x77
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool i2cBusWriteRegister(const busDevice_t *busdev, uint8_t reg, uint8_t data);
|
bool i2cBusWriteRegister(const busDevice_t *busdev, uint8_t reg, uint8_t data);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "drivers/io_types.h"
|
#include "drivers/io_types.h"
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void buttonsInit(void);
|
void buttonsInit(void);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool ak8963Detect(magDev_t *mag);
|
bool ak8963Detect(magDev_t *mag);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool ak8975Detect(magDev_t *mag);
|
bool ak8975Detect(magDev_t *mag);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct magDev_s;
|
struct magDev_s;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "drivers/bus.h"
|
#include "drivers/bus.h"
|
||||||
|
|
|
@ -1,21 +1,23 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined(INVERTER_PIN_UART1) || defined(INVERTER_PIN_UART2) || defined(INVERTER_PIN_UART3) || defined(INVERTER_PIN_UART4) || defined(INVERTER_PIN_UART5) || defined(INVERTER_PIN_UART6)
|
#if defined(INVERTER_PIN_UART1) || defined(INVERTER_PIN_UART2) || defined(INVERTER_PIN_UART3) || defined(INVERTER_PIN_UART4) || defined(INVERTER_PIN_UART5) || defined(INVERTER_PIN_UART6)
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// TODO - GPIO_TypeDef include
|
// TODO - GPIO_TypeDef include
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define ESCSERIAL_BUFFER_SIZE 1024
|
#define ESCSERIAL_BUFFER_SIZE 1024
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
|
|
||||||
#include "common/utils.h"
|
#include "common/utils.h"
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#include "common/utils.h"
|
#include "common/utils.h"
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
// aRCiTimer transponder codes:
|
// aRCiTimer transponder codes:
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
void transponderIrInitERLT(transponder_t *transponder);
|
void transponderIrInitERLT(transponder_t *transponder);
|
||||||
void updateTransponderDMABufferERLT(transponder_t *transponder, const uint8_t* transponderData);
|
void updateTransponderDMABufferERLT(transponder_t *transponder, const uint8_t* transponderData);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
void transponderIrInitIlap(transponder_t *transponder);
|
void transponderIrInitIlap(transponder_t *transponder);
|
||||||
void updateTransponderDMABufferIlap(transponder_t *transponder, const uint8_t* transponderData);
|
void updateTransponderDMABufferIlap(transponder_t *transponder, const uint8_t* transponderData);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct dispatchEntry_s;
|
struct dispatchEntry_s;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
displayPort_t *displayPortOledInit(void *device);
|
displayPort_t *displayPortOledInit(void *device);
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef USE_OSD_SLAVE
|
#ifdef USE_OSD_SLAVE
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct rxConfig_s;
|
struct rxConfig_s;
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void rxPwmInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
void rxPwmInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool sbusInit(const rxConfig_t *initialRxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
bool sbusInit(const rxConfig_t *initialRxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool sumdInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
bool sumdInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool sumhInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
bool sumhInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Function to be implemented on a per-target basis under src/main/target/<TARGET>/serialrx.c
|
// Function to be implemented on a per-target basis under src/main/target/<TARGET>/serialrx.c
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool xBusInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
bool xBusInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool sensorsAutodetect(void);
|
bool sensorsAutodetect(void);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
typedef enum awf3HardwareRevision_t {
|
typedef enum awf3HardwareRevision_t {
|
||||||
AFF3_UNKNOWN = 0,
|
AFF3_UNKNOWN = 0,
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
typedef enum awf4HardwareRevision_t {
|
typedef enum awf4HardwareRevision_t {
|
||||||
AFF4_UNKNOWN = 0,
|
AFF4_UNKNOWN = 0,
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
typedef enum awf7HardwareRevision_t {
|
typedef enum awf7HardwareRevision_t {
|
||||||
AFF7_UNKNOWN = 0,
|
AFF7_UNKNOWN = 0,
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
*/
|
*
|
||||||
#pragma once
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/#pragma once
|
||||||
|
|
||||||
typedef enum bjf4HardwareRevision_t {
|
typedef enum bjf4HardwareRevision_t {
|
||||||
UNKNOWN = 0,
|
UNKNOWN = 0,
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void bstProcessInCommand(void);
|
void bstProcessInCommand(void);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void initIbusTelemetry(void);
|
void initIbusTelemetry(void);
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Cleanflight.
|
* This file is part of Cleanflight and Betaflight.
|
||||||
*
|
*
|
||||||
* Cleanflight is free software: you can redistribute it and/or modify
|
* Cleanflight and Betaflight are free software: you can redistribute
|
||||||
* it under the terms of the GNU General Public License as published by
|
* this software and/or modify this software under the terms of the
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* GNU General Public License as published by the Free Software
|
||||||
* (at your option) any later version.
|
* Foundation, either version 3 of the License, or (at your option)
|
||||||
|
* any later version.
|
||||||
*
|
*
|
||||||
* Cleanflight is distributed in the hope that it will be useful,
|
* Cleanflight and Betaflight are distributed in the hope that they
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
* GNU General Public License for more details.
|
* See the GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with this software.
|
||||||
|
*
|
||||||
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void initJetiExBusTelemetry(void);
|
void initJetiExBusTelemetry(void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue