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: Nucleo_Encoder_16_bits.cpp
- Revision:
- 5:a3349f37ef99
- Parent:
- 4:9ce0e451aeff
diff -r 9ce0e451aeff -r a3349f37ef99 Nucleo_Encoder_16_bits.cpp
--- a/Nucleo_Encoder_16_bits.cpp Thu Jan 17 04:10:16 2019 +0000
+++ b/Nucleo_Encoder_16_bits.cpp Thu Jan 17 05:20:49 2019 +0000
@@ -70,7 +70,7 @@
case TIM8_BASE :
TIM8->CNT = 0;
break;
- /*
+
case TIM9_BASE :
TIM9->CNT = 0;
break;
@@ -78,7 +78,7 @@
case TIM12_BASE :
TIM12->CNT = 0;
break;
- */
+
}
}
else{
@@ -101,13 +101,13 @@
case TIM8_BASE :
return (int32_t)count;
- /*
+
case TIM9_BASE :
return (int32_t)count;
case TIM12_BASE :
return (int32_t)count;
- */
+
}
}