Skip to content

Commit

Permalink
disabled cd-text debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
superg committed Dec 14, 2022
1 parent 37960c6 commit 3b980a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions toc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ bool TOC::UpdateCDTEXT(const std::vector<uint8_t> &cdtext_buffer)
auto &pack_data = descriptors[i];

//DEBUG
LOG("{:02X} {:02} {:b} {:02} {:02} {:01} {:b} {}",
pack_data.pack_type, pack_data.track_number, pack_data.extension_flag, pack_data.sequence_number, pack_data.character_position, pack_data.block_number, pack_data.unicode,
DescriptorText(pack_data));
// LOG("{:02X} {:02} {:b} {:02} {:02} {:01} {:b} {}",
// pack_data.pack_type, pack_data.track_number, pack_data.extension_flag, pack_data.sequence_number, pack_data.character_position, pack_data.block_number, pack_data.unicode,
// DescriptorText(pack_data));

auto crc = crc16_gsm((uint8_t *)&pack_data, sizeof(pack_data) - sizeof(uint16_t));
// PLEXTOR PX-W5224TA: crc of last pack is always zeroed
Expand Down

0 comments on commit 3b980a8

Please sign in to comment.