fix imports

This commit is contained in:
markus
2025-01-08 22:39:43 +01:00
parent 3d95275feb
commit bc75abc940
2 changed files with 4 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ import pyee
import sys
sys.path.append('../utils')
from le_audio_encoder import LeAudioEncoder
from utils.le_audio_encoder import LeAudioEncoder
from bumble.colors import color
from bumble import company_ids
@@ -887,7 +887,8 @@ async def run_broadcast(
iso_index +=1
device.host.on('iso_packet_sent',on_iso_pdu_sent)
device.host.on('packet_complete',on_iso_pdu_sent)
print('Start sending frames')
while True:
await asyncio.sleep(1)

View File

@@ -335,7 +335,7 @@ class Listener(Device.Listener):
else:
self.send_complete = True
self.device.host.on('iso_packet_sent', on_iso_pdu_sent)
self.device.host.on('packet_complete', on_iso_pdu_sent)
self.device.host.send_hci_packet(self.iso_packet)
while True: