To avoid the LOW_FREQUENCY_VALUE issue. Change the 32768 direct value as for it.
Fork of EFM32_SegmentLCD by
Revision 7:10a37bbb0698, committed 2016-12-14
- Comitter:
- ura_pooh
- Date:
- Wed Dec 14 10:28:25 2016 +0000
- Parent:
- 6:114aa75da77b
- Commit message:
- LOW FREQUENCY VALUE was not founded. So I changed to modify 32768 as the value.
Changed in this revision
segmentlcd.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/segmentlcd.c Mon May 04 20:40:26 2015 +0000 +++ b/segmentlcd.c Wed Dec 14 10:28:25 2016 +0000 @@ -415,7 +415,7 @@ /* LCD Controller Prescaler */ /* Calculate value. Approach 50Hz for framerate. */ - uint32_t prescaler = (LOW_ENERGY_CLOCK_FREQUENCY / 32) / SegmentLCD_GetFrameRateDiv(lcdInit.mux); + uint32_t prescaler = (32768 / 32) / SegmentLCD_GetFrameRateDiv(lcdInit.mux); CMU_ClockDivSet(cmuClock_LCDpre, prescaler);