Merge pull request #1055 from gedankenexperimenter/bug/ktest-press-trailing-comments

Fix trailing comments on ktest `PRESS` & `RELEASE` lines
pull/1056/head
Jesse Vincent 4 years ago committed by GitHub
commit 9ed4decc7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -352,14 +352,14 @@ sub generate_press {
my $e = shift; my $e = shift;
# TODO handle multuple presses # TODO handle multuple presses
cxx( "PressKey(key_addr_" . $e->{data}->{switch} . ");", $e->{comment} ); cxx( "PressKey(key_addr_" . $e->{data}->{switch} . "); // ", $e->{comment} );
} }
sub generate_release { sub generate_release {
my $e = shift; my $e = shift;
# TODO handle multiple releases # TODO handle multiple releases
cxx( "ReleaseKey(key_addr_" . $e->{data}->{switch} . ");", $e->{comment} ); cxx( "ReleaseKey(key_addr_" . $e->{data}->{switch} . "); // ", $e->{comment} );
} }
sub generate_expect_report { sub generate_expect_report {

Loading…
Cancel
Save