Commit cd472d65 authored by julien.delange's avatar julien.delange
Browse files

* udpate driver and avoid latency issues



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@1384 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent efcc05e0
...@@ -13,7 +13,7 @@ end spg_generic_keyboard_init; ...@@ -13,7 +13,7 @@ end spg_generic_keyboard_init;
thread keyboard_poller thread keyboard_poller
features features
key_pressed : out data port Base_Types::Character; key_pressed : out data port Base_Types::Integer;
end keyboard_poller; end keyboard_poller;
thread implementation keyboard_poller.i thread implementation keyboard_poller.i
...@@ -24,14 +24,14 @@ calls ...@@ -24,14 +24,14 @@ calls
connections connections
parameter pspg.key_pressed -> key_pressed; parameter pspg.key_pressed -> key_pressed;
properties properties
Period => 10ms; Period => 100ms;
Dispatch_Protocol => Periodic; Dispatch_Protocol => Periodic;
end keyboard_poller.i; end keyboard_poller.i;
subprogram spg_generic_keyboard_poller subprogram spg_generic_keyboard_poller
features features
key_pressed : out parameter Base_Types::Character; key_pressed : out parameter Base_Types::Integer;
properties properties
Source_Language => C; Source_Language => C;
Source_Name => "__po_hi_driver_generic_keyboard_poller"; Source_Name => "__po_hi_driver_generic_keyboard_poller";
...@@ -39,7 +39,7 @@ end spg_generic_keyboard_poller; ...@@ -39,7 +39,7 @@ end spg_generic_keyboard_poller;
abstract generic_keyboard_driver abstract generic_keyboard_driver
features features
key_pressed : out data port Base_Types::Character; key_pressed : out data port Base_Types::Integer;
end generic_keyboard_driver; end generic_keyboard_driver;
......
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