stm: canio: remove stray optimization flag for debugging
This commit is contained in:
parent
eed3387f4e
commit
81d7ef0256
@ -50,7 +50,6 @@ STATIC const mcu_periph_obj_t *find_pin_function(const mcu_periph_obj_t *table,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
__attribute__((optimize("O0")))
|
|
||||||
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)
|
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)
|
||||||
{
|
{
|
||||||
#define DIV_ROUND(a, b) (((a) + (b)/2) / (b))
|
#define DIV_ROUND(a, b) (((a) + (b)/2) / (b))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user