This commit is contained in:
Melefo
2020-02-12 14:31:16 +01:00
4 changed files with 41 additions and 4 deletions
+4 -1
View File
@@ -6,8 +6,11 @@
namespace ComSquare::APU
{
int SET1()
int APU::SET1(uint24_t dp, uint8_t bit)
{
uint8_t data = read(dp);
write(dp, data | (1u << bit));
return 4;
}
}