File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ function calculateAngleOfRotation(acc) {
4545// Advertise the name "Knob.js"
4646function 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
You can’t perform that action at this time.
0 commit comments