Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Sensor DMAs - 118 #140

Merged
merged 2 commits into from
Nov 24, 2024
Merged

Current Sensor DMAs - 118 #140

merged 2 commits into from
Nov 24, 2024

Conversation

RyanK952
Copy link
Contributor

Changes

Added buffers for ADC channels 1 and 2, the first is an array. replaced ADC start commands with DMA start commands. replaced polling commands with memcpys from buffers.

issue 118

@RyanK952 RyanK952 requested review from Sabramz and jr1221 November 24, 2024 21:52
@@ -245,7 +253,8 @@ int16_t compute_get_pack_current()
return -low_current;
}

// printf("\rHigh Current: %d\n", -high_current);
// printf("Low Current: %d\n", -low_current);
// printf("High Current: %d\n", -high_current);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove temporary comments

@RyanK952 RyanK952 merged commit 878457d into develop Nov 24, 2024
2 checks passed
@RyanK952 RyanK952 deleted the Current_Sensor_DMAs_118 branch November 24, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants