Make example code build again (s/RCC_IOPCEN/IOPCEN).
This commit is contained in:
@@ -24,7 +24,7 @@ int main(void)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Enable GPIOC clock. */
|
/* Enable GPIOC clock. */
|
||||||
RCC_APB2ENR = RCC_IOPCEN;
|
RCC_APB2ENR = IOPCEN;
|
||||||
|
|
||||||
/* Set GPIO12 (in GPIO port C) to 'output push-pull'. */
|
/* Set GPIO12 (in GPIO port C) to 'output push-pull'. */
|
||||||
/* Manually: */
|
/* Manually: */
|
||||||
|
|||||||
Reference in New Issue
Block a user