diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-14 10:47:04 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-14 10:47:04 +0100 |
| commit | 45cbd70613fe60c1f28ee8f27fd090ee28a9444b (patch) | |
| tree | 3a3fa130d4ed940f63d04125c5a4f522f023c3bb /Kod/bilbana/yc4/display/define_touch_key.m | |
| parent | 04d31ae3e5ffb507422df78ad312ef70d81432f1 (diff) | |
| parent | 14b2064d325f8065dad48421c16db9b4ac678cfe (diff) | |
| download | tfyy51-45cbd70613fe60c1f28ee8f27fd090ee28a9444b.tar.gz | |
Merge branch 'car-function'
Diffstat (limited to 'Kod/bilbana/yc4/display/define_touch_key.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/define_touch_key.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kod/bilbana/yc4/display/define_touch_key.m b/Kod/bilbana/yc4/display/define_touch_key.m index 14ee5ee..69ed130 100644 --- a/Kod/bilbana/yc4/display/define_touch_key.m +++ b/Kod/bilbana/yc4/display/define_touch_key.m @@ -1,7 +1,7 @@ function pkg = define_touch_key(x1, y1, x2, y2, down_code, up_code, just, text) - arg_location = [get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)]; - arg_text = double(strjoin({just; text}, '')); - arg_null = 0; +arg_location = [get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)]; +arg_text = double(strjoin({just; text}, '')); +arg_null = 0; - pkg = get_package('AT', [arg_location, down_code, up_code, arg_text, arg_null]); +pkg = get_package('AT', [arg_location, down_code, up_code, arg_text, arg_null]); end |
