This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-cores
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Corrected an copy paste error
main
Mike S
5 years ago
parent
756b9c4b0f
commit
cd07025412
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
+2
-0
teensy4/analog.c
+ 2
- 0
teensy4/analog.c
View File
@@ -89,6 +89,8 @@ void analogReadRes(unsigned int bits)
void analogReadAveraging(unsigned int num)
{
uint32_t tmp32, mode, avg=0;
//disable averaging
tmp32 = ADC1_GC;
ADC1_GC &= ~0x20;
Write
Preview
Loading…
Cancel
Save