Skip to content

Commit

Permalink
Here4: LED params set through hwdef.dat
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Jul 13, 2023
1 parent 1fb696c commit a9cab00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Here4/defaults.parm
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
OUT1_FUNCTION 132
OUT2_FUNCTION 129
NTF_LED_TYPES 512
NTF_LED_BRIGHT 2
NTF_LED_LEN 4
Expand Down
4 changes: 4 additions & 0 deletions Here4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ define CAN_APP_NODE_NAME "com.cubepilot.here4"
PB8 TIM4_CH3 TIM4 PWM(1)
PB9 TIM4_CH4 TIM4 PWM(2)

define SRV_LED_CLK_CHANNEL 1
define SRV_LED_CLK_FUNCTION SRV_Channel::k_ProfiLED_Clock
define SRV_LED_DATA_CHANNEL 2
define SRV_LED_DATA_FUNCTION SRV_Channel::k_ProfiLED_1

define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1
Expand Down

0 comments on commit a9cab00

Please sign in to comment.