pistorm/platforms/dummy/dummy-registers.c
Andrew Hutchings 10d5229b68 Add license information to source
MIT license was chosen
2021-04-16 09:06:27 +01:00

16 lines
354 B
C

// SPDX-License-Identifier: MIT
int handle_register_read_dummy(unsigned int addr, unsigned char type, unsigned int *val) {
if (addr) {}
if (type) {}
if (val) {}
return -1;
}
int handle_register_write_dummy(unsigned int addr, unsigned int value, unsigned char type) {
if (addr) {}
if (type) {}
if (value) {}
return -1;
}