Skip to content

Commit

Permalink
update am32 default meldoy string instead of empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Huibean authored and tridge committed Oct 21, 2024
1 parent 9231483 commit 1f377ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dronecan_gui_tool/am32_rtttl.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def quantized_duration(duration):
@staticmethod
def get_melody_string_from_dronecan_param_value(value):
if all(item == 255 for item in value):
return ''
return 'MelodyMelody:d=1,o=4,bpm=100:'
melody_array = bytearray(128)
for i in range(len(value)):
melody_array[i] = value[i]
Expand Down

0 comments on commit 1f377ff

Please sign in to comment.