Repair compilability of code
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
*/
|
||||
|
||||
#include <aarch64/aarch64.h>
|
||||
#include <aarch64/bcm2837.h>
|
||||
#include <drivers/soc/bcm2837/bcm2837.h>
|
||||
|
||||
#include "UARTMini.h"
|
||||
#include "uart_mini.h"
|
||||
|
||||
|
||||
int
|
||||
@@ -49,9 +49,9 @@ UARTMini_init(void)
|
||||
AArch64_setReg32(GPFSEL1, sel);
|
||||
|
||||
AArch64_setReg32(GPPUD, 0);
|
||||
AArch64_delay(150);
|
||||
AArch64_idle(150);
|
||||
AArch64_setReg32(GPPUDCLK0, (1 << 14) | (1 << 15));
|
||||
AArch64_delay(150);
|
||||
AArch64_idle(150);
|
||||
AArch64_setReg32(GPPUDCLK0, 0);
|
||||
|
||||
/* Enable TX and RX */
|
||||
|
||||
Reference in New Issue
Block a user