Commit 1adadc21 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Propagate fix from IOMD-0_31

Got the IIC transfer data offset wrong, harmless in this HAL since the stack already had to have space for 2 complete transfers.
Not tested.

Version 0.36. Tagged as 'BCM2835-0_36'
parent 4830dcfe
/* (0.35) /* (0.36)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 0.35 #define Module_MajorVersion_CMHG 0.36
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 14 Jul 2014 #define Module_Date_CMHG 17 Sep 2014
#define Module_MajorVersion "0.35" #define Module_MajorVersion "0.36"
#define Module_Version 35 #define Module_Version 36
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "14 Jul 2014" #define Module_Date "17 Sep 2014"
#define Module_ApplicationDate "14-Jul-14" #define Module_ApplicationDate "17-Sep-14"
#define Module_ComponentName "BCM2835" #define Module_ComponentName "BCM2835"
#define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835" #define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835"
#define Module_FullVersion "0.35" #define Module_FullVersion "0.36"
#define Module_HelpVersion "0.35 (14 Jul 2014)" #define Module_HelpVersion "0.36 (17 Sep 2014)"
#define Module_LibraryVersionInfo "0:35" #define Module_LibraryVersionInfo "0:36"
...@@ -92,7 +92,7 @@ RTC_InitDevices ROUT ...@@ -92,7 +92,7 @@ RTC_InitDevices ROUT
ORR a2, a2, #1:SHL:29 ; write op with retry ORR a2, a2, #1:SHL:29 ; write op with retry
ADD a3, sp, #12 ; -> data block ADD a3, sp, #12 ; -> data block
MOV a4, #0 MOV a4, #0
STR a4, [a3, #12] ; clear clock halt bit (and seconds) STR a4, [a3] ; clear clock halt bit (and seconds)
MOV a4, #2 ; data block size MOV a4, #2 ; data block size
STMIA a1, {a2-a4} STMIA a1, {a2-a4}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment