Skip to content

Commit 7469e53

Browse files
committed
warning
1 parent 06e49d5 commit 7469e53

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

apps/knobbutton/app.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ function calculateAngleOfRotation(acc) {
4545
// Advertise the name "Knob.js"
4646
function advertiseName() {
4747
NRF.setAdvertising({}, {
48-
showName: false,
49-
manufacturer: 0x0590,
50-
manufacturerData: JSON.stringify({ name: "Knob.js" }),
51-
interval: NAME_ADVERTISING_PERIOD_MILLISECONDS
48+
showName: false,
49+
manufacturer: 0x0590,
50+
manufacturerData: JSON.stringify({ name: "Knob.js" }),
51+
interval: NAME_ADVERTISING_PERIOD_MILLISECONDS
5252
});
5353
}
5454

@@ -60,14 +60,14 @@ function advertiseAngleOfRotation(angleOfRotation) {
6060
}
6161

6262
NRF.setAdvertising({}, {
63-
showName: false,
64-
manufacturer: 0x0590,
65-
manufacturerData: JSON.stringify({ angleOfRotation: angleOfRotation }),
66-
interval: ANGLE_ADVERTISING_PERIOD_MILLISECONDS
63+
showName: false,
64+
manufacturer: 0x0590,
65+
manufacturerData: JSON.stringify({ angleOfRotation: angleOfRotation }),
66+
interval: ANGLE_ADVERTISING_PERIOD_MILLISECONDS
6767
});
6868

6969
advertisingTimeoutId = setTimeout(advertiseName,
70-
ANGLE_ADVERTISING_DURATION_MILLISECONDS);
70+
ANGLE_ADVERTISING_DURATION_MILLISECONDS);
7171
}
7272

7373

0 commit comments

Comments
 (0)