Skip to content

Commit 7fc1bcb

Browse files
authored
Update main.ts
1 parent 6f74780 commit 7fc1bcb

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

main.ts

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ namespace RemoteControl {
2929
// note that Caml casing yields lower case
3030
// block text with spaces
3131

32+
//% block
33+
export function up() :number {
34+
return _up;
35+
}
36+
//% block
37+
export function down() :number {
38+
return _down;
39+
}
40+
41+
42+
43+
3244
//% block
3345

3446
export function init_HX1838() : void {
@@ -74,11 +86,3 @@ export function init_Keyestudio () : void {
7486
}
7587
}
7688

77-
//% block
78-
export function up() :number {
79-
return _up;
80-
}
81-
//% block
82-
export function down() :number {
83-
return _down;
84-
}

0 commit comments

Comments
 (0)