Fix cardtest

This commit is contained in:
Jack Andersen 2018-02-06 15:53:06 -10:00
parent 3b10be80f7
commit a4045a7764
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
int main() int main()
{ {
kabufuda::Card mc{_S("test.USA.raw"), "GM8E", "01"}; kabufuda::Card mc{"GM8E", "01"};
mc.open(_S("test.USA.raw"));
mc.format(kabufuda::ECardSlot::SlotA, kabufuda::ECardSize::Card2043Mb); mc.format(kabufuda::ECardSlot::SlotA, kabufuda::ECardSize::Card2043Mb);
uint64_t a = 0; uint64_t a = 0;
mc.getSerial(a); mc.getSerial(a);