Skip to content

Commit

Permalink
Remove __breakpoint calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jcxldn committed Oct 31, 2023
1 parent 3dcc9e3 commit af077ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/core/mcp3008/hardware/mcp3008_hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ uint16_t mcp3008_read_hardware(spi_dual_inst *inst, uint8_t channel, bool differ
// Send the SPI command

gpio_put(inst->pinout->csn, 0);
__breakpoint();
spi_write_read_blocking(inst->spi_hw, output_buffer, input_buffer, BUF_LEN);
gpio_put(inst->pinout->csn, 1);

Expand Down
4 changes: 0 additions & 4 deletions src/flashloader/dfu.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ void tud_dfu_download_cb(uint8_t alt, uint16_t block_num, uint8_t const *data, u
rec.sectionId = sectionId;

int result = parseRecord(buf, &rec);
if (result == 0)
{
__breakpoint();
}
processRecord(&rec);

// If the ulba is different to what is saved, update the variable.
Expand Down
1 change: 0 additions & 1 deletion src/flashloader/ihex/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ uint32_t count = 0;
// is passed a pointer to rec
void processRecord(ihexRecord *rec)
{
//__breakpoint();
switch (rec->type)
{
case UHEX_TYPE_CUSTOM_DATA:
Expand Down

0 comments on commit af077ba

Please sign in to comment.