stm: canio: remove stray optimization flag for debugging

This commit is contained in:
Jeff Epler 2020-10-06 20:13:23 -05:00
parent eed3387f4e
commit 81d7ef0256

View File

@ -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)
{
#define DIV_ROUND(a, b) (((a) + (b)/2) / (b))