Skip to content

Commit 81d7ef0

Browse files
committed
stm: canio: remove stray optimization flag for debugging
1 parent eed3387 commit 81d7ef0

File tree

1 file changed

+0
-1
lines changed
  • ports/stm/common-hal/canio

1 file changed

+0
-1
lines changed

ports/stm/common-hal/canio/CAN.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ STATIC const mcu_periph_obj_t *find_pin_function(const mcu_periph_obj_t *table,
5050
}
5151

5252

53-
__attribute__((optimize("O0")))
5453
void common_hal_canio_can_construct(canio_can_obj_t *self, mcu_pin_obj_t *tx, mcu_pin_obj_t *rx, int baudrate, bool loopback, bool silent)
5554
{
5655
#define DIV_ROUND(a, b) (((a) + (b)/2) / (b))

0 commit comments

Comments
 (0)