File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -76,19 +76,16 @@ void loop() {
76
76
blePeripheral.poll ();
77
77
}
78
78
79
- void colorCharacteristicWritten (BLECentral& central,
80
- BLECharacteristic& characteristic) {
79
+ void colorCharacteristicWritten (BLECentral& central, BLECharacteristic& characteristic) {
81
80
updateLights ();
82
81
}
83
82
84
- void brightnessCharacteristicWritten (BLECentral& central,
85
- BLECharacteristic& characteristic) {
83
+ void brightnessCharacteristicWritten (BLECentral& central, BLECharacteristic& characteristic) {
86
84
pixels.setBrightness (brightnessCharacteristic.value ());
87
85
updateLights ();
88
86
}
89
87
90
- void switchCharacteristicWritten (BLECentral& central,
91
- BLECharacteristic& characteristic) {
88
+ void switchCharacteristicWritten (BLECentral& central, BLECharacteristic& characteristic) {
92
89
processSwitchChange ();
93
90
}
94
91
You can’t perform that action at this time.
0 commit comments