Skip to content

Commit 175e0f0

Browse files
committed
Changed BLEService.start to pub(crate). (#27)
1 parent f795bcb commit 175e0f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/ble_service.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl BLEService {
3434
BleUuid::from(self.uuid)
3535
}
3636

37-
pub fn start(&mut self) -> Result<(), BLEReturnCode> {
37+
pub(crate) fn start(&mut self) -> Result<(), BLEReturnCode> {
3838
let svc_def = self.svc_def.get_or_insert_with(|| {
3939
let mut svc = [esp_idf_sys::ble_gatt_svc_def::default(); 2];
4040
svc[0].type_ = esp_idf_sys::BLE_GATT_SVC_TYPE_PRIMARY as _;

0 commit comments

Comments
 (0)