Skip to content

Commit

Permalink
Merge pull request #327 from TG9541/five-minutes-past-midnight
Browse files Browse the repository at this point in the history
fixes #326 core parameter names
  • Loading branch information
TG9541 authored Jul 4, 2020
2 parents 4302d2d + ff29ae6 commit 98ccbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forth.asm
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ COLD:
.endif
MOV BG_TIM_PSCR,#3 ; prescaler 1/(2^3) = 1/8
.endif
LDW X,#BG_TIM_REL ; "'BGTIMREL" timer reload for BG task
LDW X,#BG_TIM_REL ; "BGTIMREL" timer reload for BG task
LDW BG_TIM_ARRH,X ; timer not yet started - use 16bit transfer
MOV BG_TIM_CR1,#0x01 ; enable background timer
MOV BG_TIM_IER,#0x01 ; enable background timer interrupt
Expand All @@ -539,7 +539,7 @@ COLD:
.ifne HAS_RXUART+HAS_TXUART
; Init RS232 communication port
; STM8S[01]003F3 init UART
LDW X,#CUARTBRR ; "'UARTBRR" def. $6803 / 9600 baud
LDW X,#CUARTBRR ; "UARTBRR" def. $6803 / 9600 baud
LDW UART_BRR1,X
.ifne HAS_RXUART*HAS_TXUART
MOV UART_CR2,#0x0C ; Use UART1 full duplex
Expand Down

0 comments on commit 98ccbd3

Please sign in to comment.