Skip to content

Commit c851681

Browse files
committed
Add version restrictions for dependent libraries
1 parent a4b7a7c commit c851681

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/LilyGo_RGBPanel.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,10 @@ class LilyGo_RGBPanel : public LilyGo_Display
147147
};
148148

149149

150+
#ifdef SENSORLIB_VERSION_MINOR
151+
#if SENSORLIB_VERSION_MINOR >= 3
152+
#error "Please roll back SensorLib to v0.2.3"
153+
#endif
154+
#endif
155+
150156

0 commit comments

Comments
 (0)