Skip to content

Commit

Permalink
Fix handling of HAS_LASER and HAS_HOBBY_SERVO_MOTOR on gQuintic
Browse files Browse the repository at this point in the history
  • Loading branch information
giseburt committed Jul 26, 2020
1 parent b7c7b92 commit c9b6a57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions g2core/board/gquintic/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@
#endif

#ifndef HAS_LASER
#if HAS_HOBBY_SERVO_MOTOR
#define HAS_LASER 0
#else
#if HAS_HOBBY_SERVO_MOTOR && HAS_LASER
#error Can NOT have a laser and a hobby servo at the same time, sorry
#endif
#define HAS_LASER 0
#endif


Expand Down

0 comments on commit c9b6a57

Please sign in to comment.