Skip to content

Commit de31967

Browse files
committedMar 18, 2025
Compiler error : Typo fixed.
1 parent f6503c8 commit de31967

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎examples/bridge-app/telink/src/AppTask.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -452,26 +452,26 @@ void AppTask::InitServer(intptr_t context)
452452

453453
// Add lights 1..3 --> will be mapped to ZCL endpoints 3, 4, 5
454454
AddDeviceEndpoint(&gLight1, &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes),
455-
Span<DataVersion>(gLight1DataVersions), chip::Span(), 1);
455+
Span<DataVersion>(gLight1DataVersions), chip::CharSpan(), 1);
456456
AddDeviceEndpoint(&gLight2, &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes),
457-
Span<DataVersion>(gLight2DataVersions), chip::Span(), 1);
457+
Span<DataVersion>(gLight2DataVersions), chip::CharSpan(), 1);
458458
AddDeviceEndpoint(&gLight3, &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes),
459-
Span<DataVersion>(gLight3DataVersions), chip::Span(), 1);
459+
Span<DataVersion>(gLight3DataVersions), chip::CharSpan(), 1);
460460

461461
// Remove Light 2 -- Lights 1 & 3 will remain mapped to endpoints 3 & 5
462462
RemoveDeviceEndpoint(&gLight2);
463463

464464
// Add Light 4 -- > will be mapped to ZCL endpoint 6
465465
AddDeviceEndpoint(&gLight4, &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes),
466-
Span<DataVersion>(gLight4DataVersions), chip::Span(), 1);
466+
Span<DataVersion>(gLight4DataVersions), chip::CharSpan(), 1);
467467

468468
// Re-add Light 2 -- > will be mapped to ZCL endpoint 7
469469
AddDeviceEndpoint(&gLight2, &bridgedLightEndpoint, Span<const EmberAfDeviceType>(gBridgedOnOffDeviceTypes),
470-
Span<DataVersion>(gLight2DataVersions), chip::Span(), 1);
470+
Span<DataVersion>(gLight2DataVersions), chip::CharSpan(), 1);
471471

472472
// Add Temperature Sensor devices --> will be mapped to endpoint 8
473473
AddDeviceEndpoint(&TempSensor1, &bridgedTempSensorEndpoint, Span<const EmberAfDeviceType>(gBridgedTempSensorDeviceTypes),
474-
Span<DataVersion>(gTempSensor1DataVersions), chip::Span(), 1);
474+
Span<DataVersion>(gTempSensor1DataVersions), chip::CharSpan(), 1);
475475
}
476476

477477
void HandleDeviceTempSensorStatusChanged(DeviceTempSensor * dev, DeviceTempSensor::Changed_t itemChangedMask)

0 commit comments

Comments
 (0)