Skip to content

Commit 32c49e2

Browse files
committed
Update for XC16 2.0 support
1 parent e2242b8 commit 32c49e2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dspic33ck-canfd-ta100/boot.X/mcc_generated_files/spi1_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
void (*spi1_interruptHandler)(void);
3030

31-
inline void spi1_close(void)
31+
void spi1_close(void)
3232
{
3333
SPI1CON1Lbits.SPIEN = 0;
3434
}

dspic33ck-canfd-ta100/boot.X/mcc_generated_files/spi1_driver.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@
2929
#include <stdio.h>
3030
#include "spi1_types.h"
3131

32-
#define INLINE inline
33-
3432
/* arbitration interface */
35-
INLINE void spi1_close(void);
33+
void spi1_close(void);
3634

3735
bool spi1_open(spi1_modes spiUniqueConfiguration);
3836
/* SPI native data exchange function */

0 commit comments

Comments
 (0)