mirror of https://github.com/efabless/caravel.git
fix bug at IRQ_uart
This commit is contained in:
parent
37244a2514
commit
ef9c2e408b
|
@ -28,7 +28,7 @@
|
|||
extern uint16_t flag;
|
||||
|
||||
void main(){
|
||||
|
||||
flag = 0;
|
||||
reg_wb_enable =1; // for enable writing to reg_debug_1 and reg_debug_2
|
||||
reg_debug_1 = 0x0;
|
||||
reg_debug_2 = 0x0;
|
||||
|
@ -47,7 +47,6 @@ void main(){
|
|||
|
||||
|
||||
irq_setmask(irq_getmask() | (1 << UART_INTERRUPT));
|
||||
flag = 0;
|
||||
|
||||
reg_debug_2 = 0xAA; //start sending data through the uart
|
||||
print("M");
|
||||
|
|
Loading…
Reference in New Issue