<commit_before>#include <msp430g2452.h>

#include "serial.h"

#define MCLK_FREQ 1000000
#define BAUD_RATE 9600    /* Max usuable with Launchpad */
#define XMIT_PIN BIT1     /* defaults to PORT1 */


void printf(char *format, ...);

int main(void)
{
    WDTCTL = (WDTPW + WDTHOLD);

    /* use precalibrated 1MHz value */
    DCOCTL = 0;
    BCSCTL1 = CALBC1_1MHZ;
    DCOCTL = CALDCO_1MHZ;

    P1OUT = XMIT_PIN;  // default state of TX line is high
    P1DIR = XMIT_PIN;

    /**
     * configure serial routines for P1OUT, PIN1 9600 bps
     */
    serial_setup(XMIT_PIN, MCLK_FREQ/BAUD_RATE);

    printf("Hello my %d%c%c name is %s\n",1,'s','t',"Joe");

    return (0);
}<commit_msg>added carriage return<commit_after>#include <msp430g2452.h>

#include "serial.h"

#define MCLK_FREQ 1000000
#define BAUD_RATE 9600    /* Max usuable with Launchpad */
#define XMIT_PIN BIT1     /* defaults to PORT1 */


void printf(char *format, ...);

int main(void)
{
    WDTCTL = (WDTPW + WDTHOLD);

    /* use precalibrated 1MHz value */
    DCOCTL = 0;
    BCSCTL1 = CALBC1_1MHZ;
    DCOCTL = CALDCO_1MHZ;

    P1OUT = XMIT_PIN;  // default state of TX line is high
    P1DIR = XMIT_PIN;

    /**
     * configure serial routines for P1OUT, PIN1 9600 bps
     */
    serial_setup(XMIT_PIN, MCLK_FREQ/BAUD_RATE);

    printf("Hello my %d%c%c name is %s\r\n",1,'s','t',"Joe");
    while(1);

    return (0);
}
{'fraction_non_alphanumeric': 0.13161659513590845, 'fraction_numerical': 0.05221745350500715, 'mean_word_length': 2.896935933147632, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1471391', 'n_tokens_mistral': 619, 'n_tokens_neox': 545, 'n_words': 137}