From 814f45bc703fc6dba726c7783114515331024351 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 15 Nov 2016 10:58:06 +0000 Subject: Fixed bug #791. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9914 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c index 3e917e27a..a2846f4e2 100644 --- a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c +++ b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.c @@ -829,7 +829,7 @@ void gpt_lld_start_timer(GPTDriver *gptp, gptcnt_t interval) { gptp->tim->SR = 0; /* Clear pending IRQs. */ if (NULL != gptp->config->callback) gptp->tim->DIER |= STM32_TIM_DIER_UIE; /* Update Event IRQ enabled.*/ - gptp->tim->CR1 = STM32_TIM_CR1_URS | STM32_TIM_CR1_CEN; + gptp->tim->CR1 = STM32_TIM_CR1_ARPE | STM32_TIM_CR1_URS | STM32_TIM_CR1_CEN; } /** diff --git a/readme.txt b/readme.txt index 10ab46a02..371c8d843 100644 --- a/readme.txt +++ b/readme.txt @@ -147,6 +147,8 @@ - RT: Merged RT4. - NIL: Merged NIL2. - NIL: Added STM32F7 demo. +- HAL: Fixed missing ARPE bit in CR1 initialization on STM32 GPT driver + (bug #791)(backported to 16.1.6, 3.0.6). - HAL: Fixed wrong DMA definition for STM32F303x8 ADC (bug #790)(backported to 16.1.6). - VAR: Fixed GCC garbage collector discards code in syscalls.c (bug #789) -- cgit v1.2.3 > upstream openwrtJames
aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.15/834-ledtrig-libata.patch
blob: 9c85862a4bd82247780da8f8dc316a226aac3b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149