Skip to content

Commit

Permalink
Discard patch changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyLindsay committed Oct 10, 2017
1 parent a9d9b61 commit 2c10836
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 139 deletions.
Binary file modified Learn/Simple Libraries/Motor/libservo360/cmm/libservo360.a
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ static volatile int abd360_pinFbRight = ABD360_PIN_FB_R;

void cal_activityBot(void)
{
patch360forBlockly();
ee_putStr("AB360cstart", 12, _AB360_EE_Start_);

// Left servo counterclockwise
Expand Down Expand Up @@ -224,7 +223,6 @@ void cal_activityBot(void)

void cal_servoPins(int servoPinLeft, int servoPinRight)
{
patch360forBlockly();
int eeAddr = _AB360_EE_Start_ + _AB360_EE_Pins_;
unsigned char pinInfo[8] = {'s', 'p', 'L', 12, ' ', 'R', 13, ' '};
pinInfo[3] = (char) servoPinLeft;
Expand All @@ -239,7 +237,6 @@ void cal_servoPins(int servoPinLeft, int servoPinRight)

void cal_encoderPins(int encPinLeft, int encPinRight)
{
patch360forBlockly();
int eeAddr = 8 + _AB360_EE_Start_ + _AB360_EE_Pins_;
unsigned char pinInfo[8] = {'e', 'p', 'L', 14, ' ', 'R', 15, ' '};
pinInfo[3] = (char) encPinLeft;
Expand All @@ -253,7 +250,6 @@ void cal_encoderPins(int encPinLeft, int encPinRight)

int cal_getEepromPins()
{
patch360forBlockly();
int eeAddr = _AB360_EE_Start_ + _AB360_EE_Pins_;
unsigned char pinInfo[16];

Expand Down Expand Up @@ -314,7 +310,7 @@ int cal_getEepromPins()
void cal_displayData(void)
{
//if(!abd_us) abd_us = CLKFREQ/1000000;
patch360forBlockly();

unsigned char str[12];
ee_getStr(str, 12, _AB360_EE_Start_);
str[11] = 0;
Expand Down Expand Up @@ -400,7 +396,7 @@ void cal_displayData(void)
void cal_displayResults(void)
{
//if(!abd_us) abd_us = CLKFREQ/1000000;
patch360forBlockly();

unsigned char str[12];
ee_getStr(str, 12, _AB360_EE_Start_);
str[11] = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ extern "C" {

#include "simpletools.h"
#include "servo360.h"
#include "patch.h"


#define ABD60_PIN_CTRL_L 12
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ volatile int abd360_gotoMode = ABD360_GOTO_BLOCK;

void drive_init(void)
{
patch360forBlockly();

abdrive360_getEepromPins();

int result, flag = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include "simpletools.h"
#include "servo360.h"
#include "patch.h"

#define ABD60_PIN_CTRL_L 12
#define ABD60_PIN_FB_L 14
Expand Down
Binary file not shown.

This file was deleted.

2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.4.6
v1.4.14

0 comments on commit 2c10836

Please sign in to comment.