Commit a55e4067 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Simulation: timers use 64bits param, not 32bits

parent 62a1277f
...@@ -142,8 +142,9 @@ The background pattern was downloaded from www.subtlepatterns.com ...@@ -142,8 +142,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog Changelog
========= =========
1.4.5 (07/2016) 1.4.5 (07/2016): fixed related to the simulator mode
- Code generation fix for the simulator - Context variable was not prefixed properly
- Callback function for timers use 64bits integer
1.4.4 (06/2016) 1.4.4 (06/2016)
- Minor bugfix in Ada backend to support typeless systems - Minor bugfix in Ada backend to support typeless systems
......
...@@ -662,7 +662,7 @@ package {process_name} is'''.format(process_name=process_name, ...@@ -662,7 +662,7 @@ package {process_name} is'''.format(process_name=process_name,
if simu: if simu:
# Declare callback registration for the SET and RESET functions # Declare callback registration for the SET and RESET functions
ads_template.append(u'type SET_{}_T is access procedure' ads_template.append(u'type SET_{}_T is access procedure'
'(name: chars_ptr; duration: Integer);' '(name: chars_ptr; duration: Asn1Int);'
.format(timer)) .format(timer))
ads_template.append(u'type RESET_{}_T is access procedure' ads_template.append(u'type RESET_{}_T is access procedure'
'(name: chars_ptr);'.format(timer)) '(name: chars_ptr);'.format(timer))
......
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