Skip to content

Commit

Permalink
devsync fe3c752
Browse files Browse the repository at this point in the history
  • Loading branch information
eh2k committed Jan 14, 2024
1 parent 5b0ac34 commit 0ecb86e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<summary><b>ChangeLog</b></summary>

````
== 2024-01-14
* DevSync: Fix DSM0 audio clipping
== 2023-12-21
* DevSync: Fix DSM0 Callibration + Voltage engines
== 2023-12-18
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

[env]
extra_scripts = pre:.pre_build.py
lib_machine = 7702517
lib_machine = fe3c752

[env:SC_DSM0]
platform = ststm32
Expand Down
11 changes: 3 additions & 8 deletions src/main.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,9 @@ void init_engines2()
void init_fun() __attribute__((weak)); \
init_fun();

static uint32_t p[5];
p[0] = (uint32_t)plaits::fm_patches_table[0];
p[1] = (uint32_t)plaits::fm_patches_table[1];
p[2] = (uint32_t)plaits::fm_patches_table[2];
p[3] = (uint32_t)machine::flash_read("DXFMSYX0");
p[4] = 0;

machine::register_symbol("fm_patches_table", p);
// machine::register_flash_blob("DXFMSYXA", plaits::fm_patches_table[0]);
// machine::register_flash_blob("DXFMSYXB", plaits::fm_patches_table[1]);
// machine::register_flash_blob("DXFMSYXC", plaits::fm_patches_table[2]);

MACHINE_INIT(init_modulations);
MACHINE_INIT(init_quantizer);
Expand Down

0 comments on commit 0ecb86e

Please sign in to comment.