Mostly style fixes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7017 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
e655ac4cd8
commit
8b24baf454
|
@ -299,13 +299,8 @@ typedef avr_gpio_registers_t *ioportid_t;
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
#define pal_lld_setpad(port, pad) \
|
#define pal_lld_setpad(port, pad) \
|
||||||
__asm__ __volatile__ \
|
__asm__ __volatile__( \
|
||||||
( \
|
"sbi %0,%1\n\t" :: "I" (_SFR_IO_ADDR(port->out)), "I" (pad) \
|
||||||
"sbi %0,%1\n\t" \
|
|
||||||
: \
|
|
||||||
: "I" (_SFR_IO_ADDR(port->out)), \
|
|
||||||
"I" (pad) \
|
|
||||||
\
|
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -317,13 +312,8 @@ __asm__ __volatile__ \
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
#define pal_lld_clearpad(port, pad) \
|
#define pal_lld_clearpad(port, pad) \
|
||||||
__asm__ __volatile__ \
|
__asm__ __volatile__( \
|
||||||
( \
|
"cbi %0,%1\n\t" :: "I" (_SFR_IO_ADDR(port->out)), "I" (pad) \
|
||||||
"cbi %0,%1\n\t" \
|
|
||||||
: \
|
|
||||||
: "I" (_SFR_IO_ADDR(port->out)), \
|
|
||||||
"I" (pad) \
|
|
||||||
\
|
|
||||||
)
|
)
|
||||||
|
|
||||||
extern ROMCONST PALConfig pal_default_config;
|
extern ROMCONST PALConfig pal_default_config;
|
||||||
|
|
Loading…
Reference in New Issue