1/** 2 * @copyright Copyright (c) 2021 Sagetech, Inc. All rights reserved. 3 * 4 * @file appendChecksum.c 5 * @author Jacob.Garrison 6 * 7 * @date Mar 2, 2021 8 * 9 */ 10 11#include "sgUtil.h" 12 13/* 14 * Documented in the header file 15 */ 16void appendChecksum(uint8_t *buffer, uint8_t len) 17{ 18 buffer[len - 1] = calcChecksum(buffer, len); 19} 20 21