Skip to content

Commit e56a5f5

Browse files
matthijskooijmancmaglie
authored andcommitted
execSizeRecipe: Fix typo in method name
Signed-off-by: Matthijs Kooijman <[email protected]>
1 parent b6b8a83 commit e56a5f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phases/sizer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func checkSize(buildProperties properties.Map, verbose bool, warningsLevel strin
8989
}
9090
}
9191

92-
textSize, dataSize, _, err := execSizeReceipe(properties, logger)
92+
textSize, dataSize, _, err := execSizeRecipe(properties, logger)
9393
if err != nil {
9494
logger.Println(constants.LOG_LEVEL_WARN, constants.MSG_SIZER_ERROR_NO_RULE)
9595
return nil
@@ -127,7 +127,7 @@ func checkSize(buildProperties properties.Map, verbose bool, warningsLevel strin
127127
return nil
128128
}
129129

130-
func execSizeReceipe(properties properties.Map, logger i18n.Logger) (textSize int, dataSize int, eepromSize int, resErr error) {
130+
func execSizeRecipe(properties properties.Map, logger i18n.Logger) (textSize int, dataSize int, eepromSize int, resErr error) {
131131
out, err := builder_utils.ExecRecipe(properties, constants.RECIPE_SIZE_PATTERN, false, false, false, logger)
132132
if err != nil {
133133
resErr = errors.New("Error while determining sketch size: " + err.Error())

0 commit comments

Comments
 (0)