Add missing parantheses
This commit is contained in:
parent
f1981eb27b
commit
a23fa2ca9f
4
Makefile
4
Makefile
@ -13,7 +13,7 @@ TARGET = main
|
|||||||
SRC = $(wildcard $(SRC_DIR)/*.c)
|
SRC = $(wildcard $(SRC_DIR)/*.c)
|
||||||
OBJ = $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
|
OBJ = $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
|
||||||
LST = $(SRC:$(SRC_DIR)/%.c=$(BUILD_DIR)/%.lst)
|
LST = $(SRC:$(SRC_DIR)/%.c=$(BUILD_DIR)/%.lst)
|
||||||
OPT = s
|
OPT = s
|
||||||
|
|
||||||
# Name of this Makefile (used for "make depend").
|
# Name of this Makefile (used for "make depend").
|
||||||
MAKEFILE = Makefile
|
MAKEFILE = Makefile
|
||||||
@ -98,7 +98,7 @@ AVRDUDE_PROGRAMMER = usbasp
|
|||||||
AVRDUDE_PORT = usb
|
AVRDUDE_PORT = usb
|
||||||
|
|
||||||
AVRDUDE_WRITE_FLASH = -U flash:w:$(BUILD_DIR)/$(TARGET).hex
|
AVRDUDE_WRITE_FLASH = -U flash:w:$(BUILD_DIR)/$(TARGET).hex
|
||||||
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
|
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
|
||||||
|
|
||||||
|
|
||||||
# Uncomment the following if you want avrdude's erase cycle counter.
|
# Uncomment the following if you want avrdude's erase cycle counter.
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
#define SET(var, mask) ((var) |= (uint8_t)BIT(mask))
|
#define SET(var, mask) ((var) |= (uint8_t)BIT(mask))
|
||||||
#define CLR(var, mask) ((var) &= (uint8_t)~(BIT(mask)))
|
#define CLR(var, mask) ((var) &= (uint8_t)~(BIT(mask)))
|
||||||
#define CHK(var, mask) ((var) & (uint8_t)BIT(mask))
|
#define CHK(var, mask) ((var) & (uint8_t)BIT(mask))
|
||||||
#define TOG(var, mask) ((var) ^= (uint8_t)BIT(mask)
|
#define TOG(var, mask) ((var) ^= (uint8_t)BIT(mask))
|
||||||
|
|
||||||
#endif /* COMMON_H */
|
#endif /* COMMON_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user