Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: EncoderInit.cpp
- Revision:
- 7:d7c793ec5c04
- Parent:
- 4:9ce0e451aeff
diff -r 978bd0579f1b -r d7c793ec5c04 EncoderInit.cpp
--- a/EncoderInit.cpp Fri Jan 25 07:58:34 2019 +0000
+++ b/EncoderInit.cpp Fri Jan 25 16:51:33 2019 +0000
@@ -9,9 +9,6 @@
timer->Init.Prescaler = 0;
timer->Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- //Kalo ngerusak hapus aja ini
- //HAL_TIM_Base_Init(timer);
-
encoder->EncoderMode = encmode;
encoder->IC1Filter = 0x0F;