Added ifdef

This commit is contained in:
CommanderRedYT committed 2022-01-26 18:21:58 +01:00
1 parent 44293a7a32
commit 976fc7cf2f
2 files changed
+4

No files matched your search

+2
View File
@@ -7,7 +7,9 @@
#include "modes/larsmmode.h"
#include "modes/gametrakmode.h"
#include "modes/motortestmode.h"
#ifdef FEATURE_JOYSTICK
#include "modes/wheelchairmode.h"
#endif
#include "displays/menus/defaultmodesettingsmenu.h"
#include "displays/menus/tempomatmodesettingsmenu.h"
#include "displays/menus/larsmmodesettingsmenu.h"
+2
View File
@@ -11,6 +11,7 @@
#include "modeinterface.h"
#include "modes/ignoreinputmode.h"
#ifdef FEATURE_JOYSTICK
class JoystickDebugDisplay : public BobbyDisplayWithTitle
{
using Base = BobbyDisplayWithTitle;
@@ -33,3 +34,4 @@ private:
int16_t m_gasMin, m_gasMax, m_bremsMin, m_bremsMax, m_gasMitte, m_bremsMitte;
};
#endif