sync
This commit is contained in:
15
C/t-oer-prc2-cbdb-main/Assignments/Watch/product/watch_i2c.c
Normal file
15
C/t-oer-prc2-cbdb-main/Assignments/Watch/product/watch_i2c.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "watch_i2c.h"
|
||||
#include "watch_device_simulator.h"
|
||||
|
||||
// leave resource_detector.h as last include!
|
||||
#include "resource_detector.h"
|
||||
|
||||
int watch_i2c_write_byte(uint8_t address, uint8_t value)
|
||||
{
|
||||
return watch_device_simulator_write_byte(address, value);
|
||||
}
|
||||
|
||||
int watch_i2c_read_byte(uint8_t address, uint8_t* value)
|
||||
{
|
||||
return watch_device_simulator_read_byte(address, value);
|
||||
}
|
||||
Reference in New Issue
Block a user