Browse Source

stm32f10x bxcan

bxcan fix align
Aubr.Cool 6 years ago
parent
commit
a53e5c73f1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bsp/stm32f10x/drivers/bxcan.c

+ 2 - 2
bsp/stm32f10x/drivers/bxcan.c

@@ -527,13 +527,13 @@ static rt_err_t bxcancalcbaseoff(struct stm_bxcan *pbxcan, rt_int32_t hdr,
     {
     {
         *pbase = 0;
         *pbase = 0;
         ptr = 0;
         ptr = 0;
-	hdr -= fifo0start; 
+        hdr -= fifo0start; 
     }
     }
     else if (hdr >= fifo1start && hdr < fifo1end)
     else if (hdr >= fifo1start && hdr < fifo1end)
     {
     {
         *pbase = pbxcan->fifo1filteroff;
         *pbase = pbxcan->fifo1filteroff;
         ptr = 1;
         ptr = 1;
-	hdr -= fifo1start; 
+        hdr -= fifo1start; 
     }
     }
     else
     else
     {
     {