|
| 1 | +/** |
| 2 | + * @file CompatibilityTable.cpp |
| 3 | + * @author Cassandra "ZZ Cat" Robinson ([email protected]) |
| 4 | + * @brief Compatibility Table is used to determine if the current device is compatible with CRSF for Arduino. |
| 5 | + * @version 0.4.0 |
| 6 | + * @date 2023-06-03 |
| 7 | + * |
| 8 | + * @copyright Copyright (c) 2023, Cassandra "ZZ Cat" Robinson. All rights reserved. |
| 9 | + * |
| 10 | + * @section License GNU General Public License v3.0 |
| 11 | + * This source file is a part of the CRSF for Arduino library. |
| 12 | + * CRSF for Arduino is free software: you can redistribute it and/or modify |
| 13 | + * it under the terms of the GNU General Public License as published by |
| 14 | + * the Free Software Foundation, either version 3 of the License, or |
| 15 | + * (at your option) any later version. |
| 16 | + * |
| 17 | + * CRSF for Arduino is distributed in the hope that it will be useful, |
| 18 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | + * GNU General Public License for more details. |
| 21 | + * |
| 22 | + * You should have received a copy of the GNU General Public License |
| 23 | + * along with CRSF for Arduino. If not, see <https://www.gnu.org/licenses/>. |
| 24 | + * |
| 25 | + */ |
| 26 | + |
1 | 27 | #include "CompatibilityTable.h"
|
2 | 28 |
|
3 | 29 | CompatibilityTable::CompatibilityTable()
|
@@ -53,6 +79,9 @@ CompatibilityTable::CompatibilityTable()
|
53 | 79 | device.type.devboard = DEVBOARD_IS_INCOMPATIBLE;
|
54 | 80 | #warning "Devboard not supported. Please check the compatibility table."
|
55 | 81 | #endif // ADAFRUIT_FEATHER_M0 etc
|
| 82 | +#else |
| 83 | + device.type.devboard = DEVBOARD_IS_INCOMPATIBLE; |
| 84 | +#warning "Devboard not supported. Please check the compatibility table." |
56 | 85 | #endif // ARDUINO_ARCH_SAMD
|
57 | 86 | }
|
58 | 87 |
|
|
0 commit comments