Skip to content

Commit

Permalink
Dikshit/vc buzzer (#1315)
Browse files Browse the repository at this point in the history
### Changelist 
Nothing much

### Testing Done
not much

### Resolved Tickets
probably!!!
  • Loading branch information
DJ90864 authored Jun 12, 2024
1 parent 729eeaa commit 02c5eb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions firmware/quadruna/VC/src/app/states/app_driveState.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static const PowerStateConfig power_manager_drive_init = {
[EFUSE_CHANNEL_INV_R] = true,
[EFUSE_CHANNEL_INV_L] = true,
[EFUSE_CHANNEL_TELEM] = true,
[EFUSE_CHANNEL_BUZZER] = false,
[EFUSE_CHANNEL_BUZZER] = true,
},
.pcm = true,
};
Expand Down Expand Up @@ -68,7 +68,6 @@ static void driveStateRunOnEntry(void)
// Enable buzzer on transition to drive, and start 2s timer.
app_timer_init(&buzzer_timer, BUZZER_ON_DURATION_MS);
app_timer_restart(&buzzer_timer);
io_efuse_setChannel(EFUSE_CHANNEL_BUZZER, true);
app_canTx_VC_BuzzerOn_set(true);

app_canTx_VC_State_set(VC_DRIVE_STATE);
Expand Down

0 comments on commit 02c5eb0

Please sign in to comment.