删除了冗余的代码
修正了readme中的错误
This commit is contained in:
@@ -1,7 +1 @@
|
||||
#include "bus.h"
|
||||
int sum(int a,int b)
|
||||
{
|
||||
int sum=b+a;
|
||||
return sum;
|
||||
|
||||
}
|
||||
#include "bus.h"
|
@@ -1,8 +1,4 @@
|
||||
//
|
||||
// Created by ricardo on 2022/5/6.
|
||||
//
|
||||
#include "controller.h"
|
||||
int add(int a,int b)
|
||||
{
|
||||
printf("%d",a+b);
|
||||
}
|
||||
#include "controller.h"
|
@@ -5,9 +5,4 @@ rail_node_t *rails;
|
||||
int add(int a, int b)
|
||||
{
|
||||
return a+ b;
|
||||
}
|
||||
|
||||
int power(int a, int b)
|
||||
{
|
||||
return a*b;
|
||||
}
|
Reference in New Issue
Block a user