fat_io_lib finally works, implement virtual partition devices, manage devices via string keys
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m35s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m35s
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#include <devices.h>
|
||||
#include <kb.h>
|
||||
#include <kb_device.h>
|
||||
#include <status.h>
|
||||
#include <stdint.h>
|
||||
#include <system.h>
|
||||
|
||||
int kb_read_key (void) {
|
||||
char ch = 0;
|
||||
int r = device_do (KB_DEVICE, KB_READ_KEY, &ch, NULL, NULL, NULL);
|
||||
int r = device_do ("KB", KB_READ_KEY, &ch, NULL, NULL, NULL);
|
||||
|
||||
if (r == ST_OK)
|
||||
return (int)ch;
|
||||
|
||||
Reference in New Issue
Block a user